From 0bea18afd9f5c2de763f845c0cbafbf526efeaca Mon Sep 17 00:00:00 2001 From: George Date: Thu, 12 Sep 2024 10:47:50 -0700 Subject: [PATCH] Fixup tests --- test/unit/operations/invoke_host_function_test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/operations/invoke_host_function_test.js b/test/unit/operations/invoke_host_function_test.js index c60ebb6c..9c45d5f6 100644 --- a/test/unit/operations/invoke_host_function_test.js +++ b/test/unit/operations/invoke_host_function_test.js @@ -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()