git.delta.rocks / unique-network / refs/commits / e8d45f95fcb7

difftreelog

test use getApi()

Yaroslav Bolyukin2022-11-24parent: #b230e7e.patch.diff
in: master

1 file changed

modifiedtests/src/eth/migration.seqtest.tsdiffbeforeafterboth
127 });127 });
128 itEth('Fake collection creation on substrate side', async ({helper}) => {128 itEth('Fake collection creation on substrate side', async ({helper}) => {
129 const txInsertEvents = helper.constructApiCall('api.tx.evmMigration.insertEvents', [[129 const txInsertEvents = helper.constructApiCall('api.tx.evmMigration.insertEvents', [[
130 encodeEvent(helper.api!, 'Common', 'common', 'CollectionCreated', [130 encodeEvent(helper.getApi(), 'Common', 'common', 'CollectionCreated', [
131 // Collection Id131 // Collection Id
132 9999,132 9999,
133 // Collection mode: NFT133 // Collection mode: NFT
144 });144 });
145 itEth('Fake token creation on substrate side', async ({helper}) => {145 itEth('Fake token creation on substrate side', async ({helper}) => {
146 const txInsertEvents = helper.constructApiCall('api.tx.evmMigration.insertEvents', [[146 const txInsertEvents = helper.constructApiCall('api.tx.evmMigration.insertEvents', [[
147 encodeEvent(helper.api!, 'Common', 'common', 'ItemCreated', [147 encodeEvent(helper.getApi(), 'Common', 'common', 'ItemCreated', [
148 // Collection Id148 // Collection Id
149 9999,149 9999,
150 // TokenId150 // TokenId