diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 00000000..9be10507 --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,13 @@ +name: Slither Analysis + +on: [push] + +jobs: + analyze: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: crytic/slither-action@v0.3.0 + with: + fail-on: high + slither-args: --filter-paths "./lib|./test" \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 09880b1d..921bdba7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ -name: test +name: Build and Test -on: workflow_dispatch +on: [push] env: FOUNDRY_PROFILE: ci diff --git a/script/DeployChildContracts.s.sol b/script/DeployChildContracts.s.sol index 6ec7ab47..9bf20df8 100644 --- a/script/DeployChildContracts.s.sol +++ b/script/DeployChildContracts.s.sol @@ -6,6 +6,7 @@ import {Script, console2} from "forge-std/Script.sol"; import {ChildERC20Bridge} from "../src/child/ChildERC20Bridge.sol"; import {ChildAxelarBridgeAdaptor} from "../src/child/ChildAxelarBridgeAdaptor.sol"; import {ChildERC20} from "../src/child/ChildERC20.sol"; +import {WIMX} from "../src/child/WIMX.sol"; // TODO update private key usage to be more secure: https://book.getfoundry.sh/reference/forge/forge-script#wallet-options---raw @@ -29,11 +30,14 @@ contract DeployChildContracts is Script { address(childBridge) // child bridge ); + WIMX wrappedIMX = new WIMX(); + vm.stopBroadcast(); console2.log("====ADDRESSES===="); console2.log("Child ERC20 Bridge: %s", address(childBridge)); console2.log("Child Axelar Bridge Adaptor: %s", address(childBridgeAdaptor)); console2.log("childTokenTemplate: %s", address(childTokenTemplate)); + console2.log("Wrapped IMX: %s", address(wrappedIMX)); } }