Skip to content

Commit

Permalink
feat: Calculate ccm gas limit (#3935)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel <daniel@chainflip.io>
Co-authored-by: Albert Llimos <53186777+albert-llimos@users.noreply.github.com>
Co-authored-by: albert <allimos3@gmail.com>
Co-authored-by: Alastair Holmes <holmes.alastair@outlook.com>
  • Loading branch information
5 people authored Sep 14, 2023
1 parent 74b6263 commit 4b2d251
Show file tree
Hide file tree
Showing 35 changed files with 500 additions and 248 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[env]
CF_ETH_CONTRACT_ABI_ROOT = { value = "eth-contract-abis", relative = true }
CF_ETH_CONTRACT_ABI_TAG = "perseverance-0.9-rc6"
CF_ETH_CONTRACT_ABI_TAG = "v0.8.0"


# Note: If you just want to save typing command commands, you can install tab completions for most shells. Type
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bouncer/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ set -e
./commands/observe_block.ts 5
./commands/setup_vaults.ts
./commands/setup_swaps.ts
./tests/all_concurrent_tests.ts
./tests/gaslimit_ccm.ts
./tests/all_concurrent_tests.ts
./tests/rotates_through_btc_swap.ts

if [[ $LOCALNET == false ]]; then
Expand Down
2 changes: 1 addition & 1 deletion bouncer/shared/eth_abis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function loadContractCached(abiPath: string) {
return cached;
};
}
const CF_ETH_CONTRACT_ABI_TAG = 'perseverance-0.9-rc6';
const CF_ETH_CONTRACT_ABI_TAG = 'v0.8.0';
export const getErc20abi = loadContractCached('../eth-contract-abis/IERC20.json');
export const getGatewayAbi = loadContractCached(
`../eth-contract-abis/${CF_ETH_CONTRACT_ABI_TAG}/IStateChainGateway.json`,
Expand Down
Loading

0 comments on commit 4b2d251

Please sign in to comment.