git.delta.rocks / unique-network / refs/commits / 5131df7cd674

difftreelog

fix after rebase

Trubnikov Sergey2022-10-24parent: #6d40fa6.patch.diff
in: master

1 file changed

modifiedtests/src/eth/collectionAdmin.test.tsdiffbeforeafterboth
73 const admin1 = helper.eth.createAccount();73 const admin1 = helper.eth.createAccount();
74 const admin2 = await privateKey('admin');74 const admin2 = await privateKey('admin');
75 await collectionEvm.methods.addCollectionAdmin(admin1).send();75 await collectionEvm.methods.addCollectionAdmin(admin1).send();
76 await collectionEvm.methods.addCollectionAdminSubstrate(admin2.addressRaw).send();76 await collectionEvm.methods.addCollectionAdminCross(helper.ethCrossAccount.fromKeyringPair(admin2)).send();
7777
78 const adminListRpc = await helper.collection.getAdmins(collectionId);78 const adminListRpc = await helper.collection.getAdmins(collectionId);
79 let adminListEth = await collectionEvm.methods.collectionAdmins().call();79 let adminListEth = await collectionEvm.methods.collectionAdmins().call();