Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
apply changes

Co-authored-by: Bo Yao <bo@near.org>
  • Loading branch information
itegulov and ailisp authored May 23, 2022
1 parent 12cb829 commit 5c11143
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ test.beforeEach(async t => {
'./node_modules/near-sdk-js/res/jsvm.wasm',
);

// Deploy status-message JS contract
const lockableFt = await root.createSubAccount('status-message');
// Deploy lockable FT JS contract
const lockableFt = await root.createSubAccount('lockable-ft');
let contract_base64 = (await readFile('build/contract.base64')).toString();
await lockableFt.call(jsvm, 'deploy_js_contract', Buffer.from(contract_base64, 'base64'), { attachedDeposit: '1000000000000000000000000' });
await lockableFt.call(jsvm, 'call_js_contract', encodeCall(lockableFt.accountId, 'init', ['prefix', 10000]), { attachedDeposit: '1000000000000000000000000' });
Expand Down

0 comments on commit 5c11143

Please sign in to comment.