Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Calculate ccm gas limit #3935

Merged
merged 16 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit confusing... looks like we downgraded the contracts?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes I understand, but any follow-up tags can't be named perseverance-0.9-xyz as perseverance contracts have been deployed and will not changed. That would be even more confusing/wrong. So the best option to me seems going back to the normal tags and we launch mainnet with v1.0.0.

Copy link
Collaborator

@dandanlen dandanlen Sep 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about 0.10.0?



# Note: If you just want to save typing command commands, you can install tab completions for most shells. Type
Expand Down
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
Loading