Snowbridge: Update Bridge Pricing Parameters to Lower Transfer Fees

Whitelisted Caller
2mos ago
9 Comments
Executed
  • Content
  • AI Summary
Reply
Up
Share
Status
Decision28d
Confirmation10mins
Attempts
1
Tally
100%Aye
62.8%Threshold
0%Nay
Aye
56.12MDOT
Nay
10.04KDOT
  • 0.0%
  • 0.0%
  • 0.0%

Threshold

Support(6.00%)
88.43MDOT
Issuance
1.47BDOT
Votes
Nested
Flattened
Calls
  • Call
  • Metadata
  • Timeline6
  • Votes Bubble
  • Statistics
Comments

The first xcm message is setting the pricing parameters on the bridge hub. But the second message is setting a storage item on AssetHub. Can you please explain which storage item you are setting and why?

Screenshot 2024-08-31 at 11.54.48.png

Reply
Up

Thanks. The more interesting part for me was to do verify the storage key. AFAIK storage items which do not belong to a pallet are not in metadata. So I manually verified the key like this:

fn main() {
    let hash = sp_crypto_hashing::twox_128(b":BridgeHubEthereumBaseFee:");
    println!("{hash:x?}");
}

I can confirm that it matches the storage key set in this referendum. Is there an easier way. How did you derive the storage key?

Reply
Up