hey, we don’t cover the smart contracts integration part. Please refer to this post or to the Paseo Element Channel with your question.
Timeline Update
We’ve revised the project timeline based on our recent experience with the previous migration. Please refer to the updated version on this doc.
Will there be two paseo chains that run revive?
The current one Paseo Contracts chain(paraid: 1111)
and soon the paseo assethub?
Yes they will both contain pallet-revive, but not at the same time.
PAsset Hub - Contracts (para id 1111) is a temporary chain with a preview of pallet-revive on it for builders to test until Q4 when pallet-revive will be on Paseo Asset Hub. At that point PAsset Hub (1111) will be decommissioned.
More info in this post
Hy, dev team!
I am aware that balances are transferred by sudo in AHM.
Is a transfer event issued on the blockchain at this time?
I am following the TRANSFER EVENT for balance increases and decreases and am wondering if the AH balance will increase if I monitor the EVENT during the automatic transfer or if I should pre-populate the balance value myself.
I expect this will be a similar discussion during the re-transfer in December.
I’m not on the team doing this, but there is no sudo pallet on the relay chain or Asset Hub.
I don’t know what you mean by the re-transfer in December. I just re-read the document and I don’t see any mention of “re-transfer” or “December”.
The migration already occurred on Westend testnet, so my suggestion would be to check out what happens there to see what will happen during the migration.
Sorry, I must have misunderstood because it didn’t look like anything happened on westend’s explorer.
I understand that the AHM at Westend took place in the following block
From what I can see, no Transfer event occurred indicating a balance transfer.
In other words, I understand that if I am monitoring a TRANSFER event, the balance will not increase.
Please let me know if there is something I am understanding incorrectly.
I mean, you can see the migration occurred, as there are all 0 balances on the relay chain and actual balances on Westend Asset Hub:
Relay chain: Polkadot/Substrate Portal
Asset Hub: Polkadot/Substrate Portal
It’s not actually a transfer (i.e. going from one account to another) so I wouldn’t think a transfer event would be fired. And indeed, it looks like no transfer events were fire
I don’t know if any other event is fired, but you can check through the Westend history and see what happens or maybe someone from the migration team can chime in here.
In fact, the migration took place over several different blocks. It didn’t happen all at once at a particular block.
That is correct, and it’s actually a pretty good point IMO, as many tools and indexers rely on the events of the Balances
Pallet (Balances.Transfer
, Balances.Withdraw
, Balances.Deposit
, etc) to check how the balances of the different accounts are changing over time. That way they can just read the System.Events
storage entry for each block and compute the diff themselves.
The migration did not trigger those events. Just like a System.set_storage
transaction wouldn’t trigger those event, either. (it doesn’t matter if it comes from Sudo, or if it comes from Governance). Conceptually, the migration it’s just setting a state that comes from the relay-chain. The migration did trigger certain events like: MultiBlockMigrations.UpgradeStarted
, PolkadotXcm.VersionMigrationFinished
and MultiBlockMigrations.UpgradeCompleted
(among others). However, I’m afraid that those events won’t be very useful to you.
Events are being emitted; we specifically considered CEXes and indexers in this case.
Check for example block #11716739:
The BatchReceived
event indicates that 481 accounts are being integrated. You can see the NewAccount
, Endowed
and Minted
events respectively. We are emitting all necessary events and not using set_storage
ever. Please let us know directly where events are missing.
PS: Relay also emits the events, see block #26041706:
Oh wow! Thanks for correcting me, I didn’t notice those events when I was following the migration! My most honest apologies
Also, I was expecting to see these events reflected in my subscan test accounts, but they didn’t show up . Although, I guess that’s a subscan “issue”.
The following two documents seem to differ in their ED descriptions at 0.1 and 0.01.
Also, I am not sure if the Westend-Assethub’s ED is also correct at 0.0001.