Skip to content

Commit

Permalink
Merge branch 'sprint-1-poc' into SMR-1782-eth-bridging-child
Browse files Browse the repository at this point in the history
  • Loading branch information
proletesseract committed Oct 19, 2023
2 parents ee559c7 + e5b5428 commit 877195d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Slither Analysis

on: [push]

jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: crytic/[email protected]
with:
fail-on: high
slither-args: --filter-paths "./lib|./test"
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: test
name: Build and Test

on: workflow_dispatch
on: [push]

env:
FOUNDRY_PROFILE: ci
Expand Down
4 changes: 4 additions & 0 deletions script/DeployChildContracts.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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));
}
}

0 comments on commit 877195d

Please sign in to comment.