Skip to content

Commit

Permalink
Fixup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Sep 12, 2024
1 parent a077653 commit 0bea18a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/operations/invoke_host_function_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ describe('Operation', function () {

expect(decodedOp.type).to.equal('invokeHostFunction');
expect(decodedOp.func.switch().name).to.equal(
'hostFunctionTypeCreateContract'
'hostFunctionTypeCreateContractV2'
);
expect(
// check deep inner field to ensure RT
decodedOp.func
.createContract()
.createContractV2()
.contractIdPreimage()
.fromAddress()
.salt()
Expand Down

0 comments on commit 0bea18a

Please sign in to comment.