-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from immutable/SMR-2459-invariant-testing-3
Smr 2459 invariant testing
- Loading branch information
Showing
10 changed files
with
1,367 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -ex | ||
set -o pipefail | ||
|
||
# Stop previous deployment. | ||
./stop.sh | ||
|
||
# Start root & child chain. | ||
npx hardhat node --config ./rootchain.config.ts --port 8500 > /dev/null 2>&1 & | ||
sleep 10 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { HardhatUserConfig } from "hardhat/config"; | ||
import "@nomicfoundation/hardhat-toolbox"; | ||
|
||
const config: HardhatUserConfig = { | ||
networks: { | ||
hardhat: { | ||
hardfork: "shanghai", | ||
mining: { | ||
auto: false, | ||
interval: 1200 | ||
}, | ||
chainId: 2502, | ||
accounts: [], | ||
}, | ||
localhost: { | ||
url: "http://127.0.0.1:8502/", | ||
} | ||
}, | ||
solidity: "0.8.19", | ||
}; | ||
export default config; |
Oops, something went wrong.