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

Fix Control Tool for Paseo and Westend #1340

Merged
merged 9 commits into from
Dec 3, 2024

Conversation

alistair-singh
Copy link
Contributor

@alistair-singh alistair-singh commented Nov 29, 2024

Resolves: SNO-1231

Paseo:

$ cargo run --features paseo --bin snowbridge-preimage -- pricing-parameters --exchange-rate-numerator 1 --exchange-rate-denominator 437 --multiplier-numerator 1  --multiplier-denominator 1  --fee-per-gas 10  --local-reward 0.01  --remote-reward 0.00025
BridgeHub:
  ExchangeRate: 0.002288329519450801 ETH/PAS
  FeePerGas: 10.000000000 GWEI
  LocalReward: 0.0100000000 PAS [100000000 PLANCK]
  RemoteReward: 0.000250000000000000 ETH [250000000000000 WEI]
AssetHub:
  BaseFee: 1.4929540998 PAS, [14929540998 PLANCK]
Storage key for 'BridgeHubEthereumBaseFee': 0x5fbc5c7ba58845ad1f1a9a7c5bc12fad
Preimage Hash: 0x8083e29930deaddd690c01f53456149bfbce2ea6f8d06a16f1b1c320d6a3c743
Preimage Size: 202
0x1a0208630003000100a90f030c2f00000602b25ec1b65946c9015302b1ca223c39210800000000000000000000e1f50500000000000000000000000000a031a95fe3000000000000000000000000000000000000000000000000000000e40b5402000000000000000000000000000000000000000000000000000000000064a7b3b6e00d00000000000000002000630003000100a10f030c2f000006025e45e4240094000404405fbc5c7ba58845ad1f1a9a7c5bc12fad4086b7de790300000000000000000000002000

Westend:

$ cargo run --features westend --bin snowbridge-preimage -- pricing-parameters --exchange-rate-numerator 1 --exchange-rate-denominator 437 --multiplier-numerator 1  --multiplier-denominator 1  --fee-per-gas 10  --local-reward 0.01  --remote-reward 0.00025
BridgeHub:
  ExchangeRate: 0.002288329519450801 ETH/WND
  FeePerGas: 10.000000000 GWEI
  LocalReward: 0.010000000000 WND [10000000000 PLANCK]
  RemoteReward: 0.000250000000000000 ETH [250000000000000 WEI]
AssetHub:
  BaseFee: 1.495748099998 WND, [1495748099998 PLANCK]
Storage key for 'BridgeHubEthereumBaseFee': 0x5fbc5c7ba58845ad1f1a9a7c5bc12fad
Preimage Hash: 0xaa88653ca11e9b2152ecbb2c86906f0cedfe3c3ddfce9a7cf79ff7352facd8bc
Preimage Size: 202
0x100208630003000100a90f030c2f00000602024f129eb544c9015302b1ca223c39210800000000000000000000e40b5402000000000000000000000000a031a95fe3000000000000000000000000000000000000000000000000000000e40b5402000000000000000000000000000000000000000000000000000000000064a7b3b6e00d00000000000000002000630003000100a10f030c2f00000602aab8dd240094000404405fbc5c7ba58845ad1f1a9a7c5bc12fad409ebf88415c01000000000000000000002000

@alistair-singh alistair-singh changed the title Fix preimage for paseo Fix Control Tool for paseo Nov 29, 2024
@alistair-singh alistair-singh marked this pull request as ready for review December 2, 2024 22:58
@alistair-singh alistair-singh changed the title Fix Control Tool for paseo Fix Control Tool for Paseo and Westend Dec 2, 2024
Copy link
Collaborator

@vgeddes vgeddes left a comment

Choose a reason for hiding this comment

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

Looks great!

@alistair-singh alistair-singh merged commit c7ae26f into main Dec 3, 2024
4 checks passed
@alistair-singh alistair-singh deleted the alistair/fix-preimage-for-paseo branch December 3, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants