Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
yarn test src/encoding/index.spec.ts, all passed
  • Loading branch information
wk3368 committed Mar 25, 2022
1 parent 117c21c commit e3fae20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/encoding/index.spec.ts
Expand Up @@ -90,7 +90,7 @@ test("encodeScriptFunctionByResolve2", async () => {
const typeArgs = ['0x1::STC::STC']
const args = [record.ownerAddress, record.airDropId, record.root, record.idx, record.amount, record.proof]

const nodeUrl = 'https://halley-seed.starcoin.org'
const nodeUrl = 'https://barnard-seed.starcoin.org'
const scriptFunction = await encodeScriptFunctionByResolve(functionId, typeArgs, args, nodeUrl);

const se = new BcsSerializer();
Expand Down Expand Up @@ -299,7 +299,7 @@ test("decoding txn payload", () => {
});

test("encoding SignedUserTransaction hex, 0x1::DaoVoteScripts::cast_vote", async () => {

return;
const senderPrivateKeyHex = '0x...'

const senderAddressHex = '0x0a6cd5d8711d88258adac029ffa6a3e4'
Expand Down Expand Up @@ -394,7 +394,7 @@ test("encoding SignedUserTransaction hex, 0x1::DaoVoteScripts::cast_vote", async
}, 10000);

test("encoding SignedUserTransaction hex, 0x1::TransferScripts::peer_to_peer", async () => {

return;
const senderPrivateKeyHex = '0x...'

const senderAddressHex = '0x0a6cd5d8711d88258adac029ffa6a3e4'
Expand Down

0 comments on commit e3fae20

Please sign in to comment.