Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Fix bridge tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ansermino committed Apr 25, 2020
1 parent 506bc69 commit 2ab74c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/contractBridge/depositGeneric.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ contract('Bridge - [deposit - Generic]', async (accounts) => {
initialExecuteFunctionSignatures);

depositData = '0x' +
Ethers.utils.hexZeroPad(recipientAddress, 32).substr(2) + // recipientAddress (?? bytes)
initialResourceIDs[0].substr(2) +
Ethers.utils.hexZeroPad(Ethers.utils.hexlify(0), 32).substr(2) // len(metaData) (0 bytes)
Ethers.utils.hexZeroPad(Ethers.utils.hexlify(4), 32).substr(2) // len(metaData)
Ethers.utils.hexZeroPad(Ethers.utils.hexlify(0xdeadbeef), 4).substr(2) // metaData
});

it('Generic deposit can be made', async () => {
Expand Down

0 comments on commit 2ab74c4

Please sign in to comment.