This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.17+commit.8df45f5f" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# DockerHub automated build override | |
# $IMAGE_NAME var is injected into the build so the tag is correct. | |
docker build \ | |
--build-arg VCS_REF=`git rev-parse --short HEAD` \ | |
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | |
-t $IMAGE_NAME . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Running Solidity Unit Tests | |
on: [push] | |
jobs: | |
run_sol_contracts_job: | |
runs-on: ubuntu-latest | |
name: A job to run solidity unit tests on github actions CI | |
steps: | |
- name: Checkout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: Unlicense | |
pragma solidity >=0.6.0 <0.9.0; | |
import "./Vm.sol"; | |
import "./console.sol"; | |
import "./console2.sol"; | |
abstract contract Script { | |
address constant private VM_ADDRESS = | |
address(bytes20(uint160(uint256(keccak256('hevm cheat code'))))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: Unlicense | |
pragma solidity >=0.6.0 <0.9.0; | |
import "./Vm.sol"; | |
import "./console.sol"; | |
import "./console2.sol"; | |
abstract contract Script { | |
address constant private VM_ADDRESS = | |
address(bytes20(uint160(uint256(keccak256('hevm cheat code'))))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: Unlicense | |
pragma solidity >=0.6.0 <0.9.0; | |
import "./Vm.sol"; | |
import "./console.sol"; | |
import "./console2.sol"; | |
abstract contract Script { | |
address constant private VM_ADDRESS = | |
address(bytes20(uint160(uint256(keccak256('hevm cheat code'))))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: Unlicense | |
pragma solidity >=0.6.0 <0.9.0; | |
import "./Vm.sol"; | |
import "./console.sol"; | |
import "./console2.sol"; | |
abstract contract Script { | |
address constant private VM_ADDRESS = | |
address(bytes20(uint160(uint256(keccak256('hevm cheat code'))))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: Unlicense | |
pragma solidity >=0.6.0 <0.9.0; | |
import "./Vm.sol"; | |
import "./console.sol"; | |
import "./console2.sol"; | |
abstract contract Script { | |
address constant private VM_ADDRESS = | |
address(bytes20(uint160(uint256(keccak256('hevm cheat code'))))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ref: refs/heads/main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ref: refs/heads/main |
NewerOlder