From 70c885d47afc10e3236a02eeab074998da69f402 Mon Sep 17 00:00:00 2001 From: Emanuele Cesena Date: Wed, 10 Jul 2024 14:30:50 -0700 Subject: [PATCH] ed25519: enable feature gate in generator (#60) --- generators/ed25519.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/ed25519.py b/generators/ed25519.py index e2661b9..1a29578 100644 --- a/generators/ed25519.py +++ b/generators/ed25519.py @@ -1533,7 +1533,7 @@ def _into_key_data(key_prefix, test_vectors): account.address = program_id account.owner = program_owner instr_ctx.accounts.extend([account]) - instr_ctx.instr_accounts.extend([invoke_pb.InstrAcct()]) + instr_ctx.epoch_context.features.features.extend([0x91a7af96555ea309]) serialized_instr = instr_ctx.SerializeToString(deterministic=True) filename = str(key) + "_" + hashlib.sha3_256(serialized_instr).hexdigest()[:16]