Skip to content

Snowbridge: Update transfer token gas and fee#721

Merged
fellowship-merge-bot[bot] merged 2 commits into
polkadot-fellows:mainfrom
Snowfork:alistair/increase-token-gas-fee
May 8, 2025
Merged

Snowbridge: Update transfer token gas and fee#721
fellowship-merge-bot[bot] merged 2 commits into
polkadot-fellows:mainfrom
Snowfork:alistair/increase-token-gas-fee

Conversation

@alistair-singh

@alistair-singh alistair-singh commented May 7, 2025

Copy link
Copy Markdown
Contributor

Merges backport paritytech/polkadot-sdk#8270 of paritytech/polkadot-sdk#7947

  • Test with chopsticks

Testing

$ npx @acala-network/chopsticks try-runtime \
  --endpoint wss://polkadot-bridge-hub-rpc-tn.dwellir.com \
  --runtime wasms/bridge_hub_polkadot_runtime.compact.wasm \
  --checks PreAndPost \
  --db westend-cache.sqllite \
  --disable-spec-check
--------------------------------------------------------------------------------
	Current runtime spec_name: bridge-hub-polkadot, spec_version: 1004003
	New runtime spec_name: bridge-hub-polkadot, spec_version: 1005000
--------------------------------------------------------------------------------


        chopsticks::executor  TRACE: [1] Calling TryRuntime_on_runtime_upgrade
  ethereum_system::migration   INFO: [1] Pre fee per gas migration: pricing parameters = PricingParameters { exchange_rate: , rewards: Rewards { local: 100000000, remote: 250000000000000 }, fee_per_gas: 10000000000, multiplier:  }, remote_fee = 4100000000000000
   frame_support::migrations   INFO: [1] 🚚 Pallet "EthereumSystem" VersionedMigration migrating storage version from 0 to 1.
  ethereum_system::migration   INFO: [1] Fee per gas migrated from 10000000000 to 7000000000.
  ethereum_system::migration   INFO: [1] Post fee per gas migration: pricing parameters = PricingParameters { exchange_rate: , rewards: Rewards { local: 100000000, remote: 250000000000000 }, fee_per_gas: 7000000000, multiplier:  } remote_fee = 2945000000000000
runtime::xcm::pallet_xcm::migrate_data_to_xcm_version   INFO: [1] Migrating `Queries` query_id=1 new_data=QueryStatus::VersionNotifier { origin: V5(Location { parents: 1, interior: X1([Parachain(1000)]) }), is_active: true }
runtime::xcm::pallet_xcm::migrate_data_to_xcm_version   INFO: [1] Migrating `Queries` query_id=0 new_data=QueryStatus::VersionNotifier { origin: V5(Location { parents: 1, interior: Here }), is_active: true }
runtime::xcm::pallet_xcm::migrate_data_to_xcm_version   INFO: [1] Migrating `Queries` query_id=2 new_data=QueryStatus::VersionNotifier { origin: V5(Location { parents: 1, interior: X1([Parachain(1001)]) }), is_active: true }
      runtime::frame-support  DEBUG: [1] ✅ no migration for System
      runtime::frame-support  DEBUG: [1] ✅ no migration for ParachainSystem
      runtime::frame-support  DEBUG: [1] ✅ no migration for Timestamp
      runtime::frame-support  DEBUG: [1] ✅ no migration for ParachainInfo
      runtime::frame-support  DEBUG: [1] ✅ no migration for Balances
      runtime::frame-support  DEBUG: [1] ✅ no migration for TransactionPayment
      runtime::frame-support  DEBUG: [1] ✅ no migration for Authorship
      runtime::frame-support  DEBUG: [1] ✅ no migration for CollatorSelection
      runtime::frame-support  DEBUG: [1] ✅ no migration for Session
      runtime::frame-support  DEBUG: [1] ✅ no migration for Aura
      runtime::frame-support  DEBUG: [1] ✅ no migration for AuraExt
      runtime::frame-support  DEBUG: [1] ✅ no migration for XcmpQueue
      runtime::frame-support  DEBUG: [1] ✅ no migration for PolkadotXcm
      runtime::frame-support  DEBUG: [1] ✅ no migration for CumulusXcm
      runtime::frame-support  DEBUG: [1] ✅ no migration for Utility
      runtime::frame-support  DEBUG: [1] ✅ no migration for Multisig
      runtime::frame-support  DEBUG: [1] ✅ no migration for BridgeRelayers
      runtime::frame-support  DEBUG: [1] ✅ no migration for BridgeKusamaGrandpa
      runtime::frame-support  DEBUG: [1] ✅ no migration for BridgeKusamaParachains
      runtime::frame-support  DEBUG: [1] ✅ no migration for BridgeKusamaMessages
      runtime::frame-support  DEBUG: [1] ✅ no migration for XcmOverBridgeHubKusama
      runtime::frame-support  DEBUG: [1] ✅ no migration for EthereumInboundQueue
      runtime::frame-support  DEBUG: [1] ✅ no migration for EthereumOutboundQueue
      runtime::frame-support  DEBUG: [1] ✅ no migration for EthereumBeaconClient
      runtime::frame-support  DEBUG: [1] ✅ no migration for EthereumSystem
      runtime::frame-support  DEBUG: [1] ✅ no migration for MessageQueue
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: System
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::Account < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::AllExtrinsicsLen < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::AuthorizedUpgrade < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::BlockHash < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::BlockWeight < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::Digest < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::EventCount < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::EventTopics < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::ExecutionPhase < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::ExtrinsicCount < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::ExtrinsicData < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::InherentsApplied < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::LastRuntimeUpgrade < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::Number < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::ParentHash < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::UpgradedToTripleRefCount < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::UpgradedToU32RefCount < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: ParachainSystem
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::AggregatedUnincludedSegment < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::AnnouncedHrmpMessagesPerCandidate < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::CustomValidationHeadData < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::DidSetValidationCode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::HrmpOutboundMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::HrmpWatermark < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::LastDmqMqcHead < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::LastHrmpMqcHeads < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::LastRelayChainBlockNumber < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::NewValidationCode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::PendingUpwardMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::PendingValidationCode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::ProcessedDownwardMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::RelayStateProof < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::RelevantMessagingState < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::ReservedDmpWeightOverride < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::ReservedXcmpWeightOverride < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::UnincludedSegment < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::UpgradeGoAhead < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::UpgradeRestrictionSignal < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::UpwardDeliveryFeeFactor < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::UpwardMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::ValidationData < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Timestamp
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Timestamp::DidUpdate < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Timestamp::Now < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: ParachainInfo
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainInfo::ParachainId < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Balances
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::Account < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::Freezes < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::Holds < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::InactiveIssuance < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::Locks < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::Reserves < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::TotalIssuance < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: TransactionPayment
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: TransactionPayment::NextFeeMultiplier < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: TransactionPayment::StorageVersion < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Authorship
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Authorship::Author < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: CollatorSelection
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: CollatorSelection::CandidacyBond < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: CollatorSelection::CandidateList < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: CollatorSelection::DesiredCandidates < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: CollatorSelection::Invulnerables < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: CollatorSelection::LastAuthoredBlock < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Session
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::CurrentIndex < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::DisabledValidators < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::KeyOwner < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::NextKeys < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::QueuedChanged < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::QueuedKeys < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::Validators < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Aura
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Aura::Authorities < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Aura::CurrentSlot < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: AuraExt
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: AuraExt::Authorities < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: AuraExt::SlotInfo < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: XcmpQueue
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::DeliveryFeeFactor < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::InboundXcmpSuspended < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::OutboundXcmpMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::OutboundXcmpStatus < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::QueueConfig < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::QueueSuspended < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::SignalMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: PolkadotXcm
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::AssetTraps < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::CurrentMigration < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::LockedFungibles < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::Queries < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::QueryCounter < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::RecordedXcm < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::RemoteLockedFungibles < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::SafeXcmVersion < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::ShouldRecordXcm < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::SupportedVersion < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::VersionDiscoveryQueue < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::VersionNotifiers < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::VersionNotifyTargets < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::XcmExecutionSuspended < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: CumulusXcm
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Utility
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Multisig
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Multisig::Multisigs < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: BridgeRelayers
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeRelayers::RegisteredRelayers < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeRelayers::RelayerRewards < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: BridgeKusamaGrandpa
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::BestFinalized < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::CurrentAuthoritySet < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::FreeHeadersRemaining < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::ImportedHashes < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::ImportedHashesPointer < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::ImportedHeaders < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::InitialHash < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::PalletOperatingMode < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::PalletOwner < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: BridgeKusamaParachains
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaParachains::ImportedParaHashes < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaParachains::ImportedParaHeads < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaParachains::PalletOperatingMode < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaParachains::PalletOwner < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaParachains::ParasInfo < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: BridgeKusamaMessages
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaMessages::InboundLanes < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaMessages::OutboundLanes < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaMessages::OutboundMessages < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaMessages::PalletOperatingMode < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaMessages::PalletOwner < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: XcmOverBridgeHubKusama
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmOverBridgeHubKusama::Bridges < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmOverBridgeHubKusama::LaneToBridge < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: EthereumInboundQueue
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumInboundQueue::Nonce < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumInboundQueue::OperatingMode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: EthereumOutboundQueue
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumOutboundQueue::MessageLeaves < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumOutboundQueue::Messages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumOutboundQueue::Nonce < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumOutboundQueue::OperatingMode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: EthereumBeaconClient
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::CurrentSyncCommittee < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::FinalizedBeaconState < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::FinalizedBeaconStateIndex < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::FinalizedBeaconStateMapping < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::InitialCheckpointRoot < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::LatestFinalizedBlockRoot < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::LatestSyncCommitteeUpdatePeriod < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::NextSyncCommittee < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::OperatingMode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::ValidatorsRoot < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: EthereumSystem
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumSystem::Agents < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumSystem::Channels < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumSystem::ForeignToNativeId < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumSystem::NativeToForeignId < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumSystem::PricingParameters < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: MessageQueue
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: MessageQueue::BookStateFor < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: MessageQueue::Pages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: MessageQueue::ServiceHead < T >
          runtime::executive   INFO: [1] ✅ Entire runtime state decodes without error. 853193 bytes total.
        chopsticks::executor  TRACE: [1] Completed TryRuntime_on_runtime_upgrade

@alistair-singh alistair-singh changed the title Update transfer token gas and fee Snowbridge: Update transfer token gas and fee May 7, 2025
@acatangiu

Copy link
Copy Markdown
Contributor

/merge

@fellowship-merge-bot fellowship-merge-bot Bot merged commit 3c665cb into polkadot-fellows:main May 8, 2025
76 of 79 checks passed
@fellowship-merge-bot

Copy link
Copy Markdown
Contributor

Enabled auto-merge in Pull Request

Available commands
  • /merge: Enables auto-merge for Pull Request
  • /merge cancel: Cancels auto-merge for Pull Request
  • /merge help: Shows this menu

For more information see the documentation

@alistair-singh alistair-singh deleted the alistair/increase-token-gas-fee branch May 8, 2025 09:11
alistair-singh added a commit to Snowfork/runtimes that referenced this pull request May 8, 2025
Merges backport paritytech/polkadot-sdk#8270 of
paritytech/polkadot-sdk#7947

- [x] Test with chopsticks

## Testing

```
$ npx @acala-network/chopsticks try-runtime \
  --endpoint wss://polkadot-bridge-hub-rpc-tn.dwellir.com \
  --runtime wasms/bridge_hub_polkadot_runtime.compact.wasm \
  --checks PreAndPost \
  --db westend-cache.sqllite \
  --disable-spec-check
--------------------------------------------------------------------------------
	Current runtime spec_name: bridge-hub-polkadot, spec_version: 1004003
	New runtime spec_name: bridge-hub-polkadot, spec_version: 1005000
--------------------------------------------------------------------------------


        chopsticks::executor  TRACE: [1] Calling TryRuntime_on_runtime_upgrade
  ethereum_system::migration   INFO: [1] Pre fee per gas migration: pricing parameters = PricingParameters { exchange_rate: , rewards: Rewards { local: 100000000, remote: 250000000000000 }, fee_per_gas: 10000000000, multiplier:  }, remote_fee = 4100000000000000
   frame_support::migrations   INFO: [1] 🚚 Pallet "EthereumSystem" VersionedMigration migrating storage version from 0 to 1.
  ethereum_system::migration   INFO: [1] Fee per gas migrated from 10000000000 to 7000000000.
  ethereum_system::migration   INFO: [1] Post fee per gas migration: pricing parameters = PricingParameters { exchange_rate: , rewards: Rewards { local: 100000000, remote: 250000000000000 }, fee_per_gas: 7000000000, multiplier:  } remote_fee = 2945000000000000
runtime::xcm::pallet_xcm::migrate_data_to_xcm_version   INFO: [1] Migrating `Queries` query_id=1 new_data=QueryStatus::VersionNotifier { origin: V5(Location { parents: 1, interior: X1([Parachain(1000)]) }), is_active: true }
runtime::xcm::pallet_xcm::migrate_data_to_xcm_version   INFO: [1] Migrating `Queries` query_id=0 new_data=QueryStatus::VersionNotifier { origin: V5(Location { parents: 1, interior: Here }), is_active: true }
runtime::xcm::pallet_xcm::migrate_data_to_xcm_version   INFO: [1] Migrating `Queries` query_id=2 new_data=QueryStatus::VersionNotifier { origin: V5(Location { parents: 1, interior: X1([Parachain(1001)]) }), is_active: true }
      runtime::frame-support  DEBUG: [1] ✅ no migration for System
      runtime::frame-support  DEBUG: [1] ✅ no migration for ParachainSystem
      runtime::frame-support  DEBUG: [1] ✅ no migration for Timestamp
      runtime::frame-support  DEBUG: [1] ✅ no migration for ParachainInfo
      runtime::frame-support  DEBUG: [1] ✅ no migration for Balances
      runtime::frame-support  DEBUG: [1] ✅ no migration for TransactionPayment
      runtime::frame-support  DEBUG: [1] ✅ no migration for Authorship
      runtime::frame-support  DEBUG: [1] ✅ no migration for CollatorSelection
      runtime::frame-support  DEBUG: [1] ✅ no migration for Session
      runtime::frame-support  DEBUG: [1] ✅ no migration for Aura
      runtime::frame-support  DEBUG: [1] ✅ no migration for AuraExt
      runtime::frame-support  DEBUG: [1] ✅ no migration for XcmpQueue
      runtime::frame-support  DEBUG: [1] ✅ no migration for PolkadotXcm
      runtime::frame-support  DEBUG: [1] ✅ no migration for CumulusXcm
      runtime::frame-support  DEBUG: [1] ✅ no migration for Utility
      runtime::frame-support  DEBUG: [1] ✅ no migration for Multisig
      runtime::frame-support  DEBUG: [1] ✅ no migration for BridgeRelayers
      runtime::frame-support  DEBUG: [1] ✅ no migration for BridgeKusamaGrandpa
      runtime::frame-support  DEBUG: [1] ✅ no migration for BridgeKusamaParachains
      runtime::frame-support  DEBUG: [1] ✅ no migration for BridgeKusamaMessages
      runtime::frame-support  DEBUG: [1] ✅ no migration for XcmOverBridgeHubKusama
      runtime::frame-support  DEBUG: [1] ✅ no migration for EthereumInboundQueue
      runtime::frame-support  DEBUG: [1] ✅ no migration for EthereumOutboundQueue
      runtime::frame-support  DEBUG: [1] ✅ no migration for EthereumBeaconClient
      runtime::frame-support  DEBUG: [1] ✅ no migration for EthereumSystem
      runtime::frame-support  DEBUG: [1] ✅ no migration for MessageQueue
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: System
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::Account < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::AllExtrinsicsLen < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::AuthorizedUpgrade < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::BlockHash < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::BlockWeight < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::Digest < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::EventCount < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::EventTopics < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::ExecutionPhase < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::ExtrinsicCount < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::ExtrinsicData < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::InherentsApplied < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::LastRuntimeUpgrade < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::Number < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::ParentHash < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::UpgradedToTripleRefCount < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: System::UpgradedToU32RefCount < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: ParachainSystem
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::AggregatedUnincludedSegment < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::AnnouncedHrmpMessagesPerCandidate < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::CustomValidationHeadData < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::DidSetValidationCode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::HrmpOutboundMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::HrmpWatermark < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::LastDmqMqcHead < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::LastHrmpMqcHeads < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::LastRelayChainBlockNumber < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::NewValidationCode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::PendingUpwardMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::PendingValidationCode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::ProcessedDownwardMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::RelayStateProof < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::RelevantMessagingState < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::ReservedDmpWeightOverride < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::ReservedXcmpWeightOverride < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::UnincludedSegment < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::UpgradeGoAhead < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::UpgradeRestrictionSignal < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::UpwardDeliveryFeeFactor < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::UpwardMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainSystem::ValidationData < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Timestamp
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Timestamp::DidUpdate < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Timestamp::Now < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: ParachainInfo
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: ParachainInfo::ParachainId < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Balances
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::Account < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::Freezes < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::Holds < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::InactiveIssuance < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::Locks < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::Reserves < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Balances::TotalIssuance < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: TransactionPayment
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: TransactionPayment::NextFeeMultiplier < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: TransactionPayment::StorageVersion < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Authorship
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Authorship::Author < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: CollatorSelection
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: CollatorSelection::CandidacyBond < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: CollatorSelection::CandidateList < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: CollatorSelection::DesiredCandidates < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: CollatorSelection::Invulnerables < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: CollatorSelection::LastAuthoredBlock < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Session
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::CurrentIndex < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::DisabledValidators < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::KeyOwner < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::NextKeys < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::QueuedChanged < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::QueuedKeys < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Session::Validators < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Aura
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Aura::Authorities < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Aura::CurrentSlot < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: AuraExt
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: AuraExt::Authorities < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: AuraExt::SlotInfo < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: XcmpQueue
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::DeliveryFeeFactor < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::InboundXcmpSuspended < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::OutboundXcmpMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::OutboundXcmpStatus < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::QueueConfig < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::QueueSuspended < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmpQueue::SignalMessages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: PolkadotXcm
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::AssetTraps < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::CurrentMigration < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::LockedFungibles < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::Queries < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::QueryCounter < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::RecordedXcm < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::RemoteLockedFungibles < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::SafeXcmVersion < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::ShouldRecordXcm < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::SupportedVersion < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::VersionDiscoveryQueue < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::VersionNotifiers < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::VersionNotifyTargets < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: PolkadotXcm::XcmExecutionSuspended < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: CumulusXcm
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Utility
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: Multisig
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: Multisig::Multisigs < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: BridgeRelayers
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeRelayers::RegisteredRelayers < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeRelayers::RelayerRewards < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: BridgeKusamaGrandpa
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::BestFinalized < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::CurrentAuthoritySet < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::FreeHeadersRemaining < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::ImportedHashes < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::ImportedHashesPointer < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::ImportedHeaders < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::InitialHash < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::PalletOperatingMode < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaGrandpa::PalletOwner < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: BridgeKusamaParachains
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaParachains::ImportedParaHashes < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaParachains::ImportedParaHeads < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaParachains::PalletOperatingMode < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaParachains::PalletOwner < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaParachains::ParasInfo < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: BridgeKusamaMessages
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaMessages::InboundLanes < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaMessages::OutboundLanes < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaMessages::OutboundMessages < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaMessages::PalletOperatingMode < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: BridgeKusamaMessages::PalletOwner < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: XcmOverBridgeHubKusama
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmOverBridgeHubKusama::Bridges < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: XcmOverBridgeHubKusama::LaneToBridge < T, I >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: EthereumInboundQueue
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumInboundQueue::Nonce < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumInboundQueue::OperatingMode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: EthereumOutboundQueue
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumOutboundQueue::MessageLeaves < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumOutboundQueue::Messages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumOutboundQueue::Nonce < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumOutboundQueue::OperatingMode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: EthereumBeaconClient
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::CurrentSyncCommittee < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::FinalizedBeaconState < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::FinalizedBeaconStateIndex < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::FinalizedBeaconStateMapping < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::InitialCheckpointRoot < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::LatestFinalizedBlockRoot < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::LatestSyncCommitteeUpdatePeriod < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::NextSyncCommittee < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::OperatingMode < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumBeaconClient::ValidatorsRoot < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: EthereumSystem
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumSystem::Agents < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumSystem::Channels < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumSystem::ForeignToNativeId < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumSystem::NativeToForeignId < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: EthereumSystem::PricingParameters < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode pallet: MessageQueue
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: MessageQueue::BookStateFor < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: MessageQueue::Pages < T >
   runtime::try-decode-state  DEBUG: [1] trying to decode storage: MessageQueue::ServiceHead < T >
          runtime::executive   INFO: [1] ✅ Entire runtime state decodes without error. 853193 bytes total.
        chopsticks::executor  TRACE: [1] Completed TryRuntime_on_runtime_upgrade
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants