-
Notifications
You must be signed in to change notification settings - Fork 103
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
Adds Snowbridge to Kusama and Polkadot Runtimes #130
Adds Snowbridge to Kusama and Polkadot Runtimes #130
Conversation
There is bump to After #137 is merged, we just need to bump to |
2aff354
to
4fcef54
Compare
c9df1c2
to
237f0ca
Compare
Co-authored-by: Ross Bulat <[email protected]>
Co-authored-by: Ross Bulat <[email protected]>
Co-authored-by: Ross Bulat <[email protected]>
Co-authored-by: Ross Bulat <[email protected]>
…otal_issuance)
# Conflicts: # Cargo.lock # relay/kusama/constants/Cargo.toml # relay/polkadot/constants/Cargo.toml # system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs # system-parachains/bridge-hubs/bridge-hub-kusama/tests/tests.rs # system-parachains/bridge-hubs/bridge-hub-polkadot/src/xcm_config.rs
# Conflicts: # Cargo.lock # relay/kusama/constants/Cargo.toml # relay/polkadot/constants/Cargo.toml # system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs # system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs
…-pk-bridge-snowbridge
# Conflicts: # CHANGELOG.md # integration-tests/emulated/chains/parachains/testing/penpal/Cargo.toml # system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs # system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs # system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs # system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs # system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs
…bko-snowbridge-nits
…oreign_asset_pallet_deposit` to the AH runtimes
…-pk-bridge-snowbridge
Nits for Snowbridge + stuff moving around
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just left few nits plus Snowfork#4
/// User fee for ERC20 token transfer back to Ethereum. | ||
/// Configure the fee to max Balance so that it is disabled. | ||
/// Sensible value was 2_750_872_500_000. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not just about ERC20 token, this fee is applied whatever transfer we will do to the Ethereum with BridgeTable
.
And all other tokens are disabled also, unless the governance sets the fee, right?
What does it mean "Sensible value was...."?
I would suggest to update this doc and also for AHP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
snowbridge_pallet_system::migration::v0::InitializeOnUpgrade< | ||
Runtime, | ||
ConstU32<BRIDGE_HUB_ID>, | ||
ConstU32<ASSET_HUB_ID>, | ||
>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@claravanstaden Is this a one-time shot, or do we need it for every runtime upgrade? If it's the former, please move it before // permanent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -326,6 +328,21 @@ pub fn can_calculate_weight_for_paid_export_message_with_reserve_transfer() { | |||
) | |||
} | |||
|
|||
#[test] | |||
fn change_ethereum_gateway_by_governance_works() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@claravanstaden very nit, why not to move it to the tests/snowbridge.rs
also for BHP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@claravanstaden I think this is ready to merge now, yes? |
@acatangiu yes, thank you! |
/merge |
14cd363
into
polkadot-fellows:main
Enabled Available commands
For more information see the documentation |
polkadot-sdk 1.7.0
[email protected]
release #137FeeManager
handle_fee
misses reason, crate needs to be updated I thinkcc @vgeddes @alistair-singh @yrong @musnit