diff --git a/apps/src/lib/node/ledger/shell/finalize_block.rs b/apps/src/lib/node/ledger/shell/finalize_block.rs index 30d1a18f80..641fe5332b 100644 --- a/apps/src/lib/node/ledger/shell/finalize_block.rs +++ b/apps/src/lib/node/ledger/shell/finalize_block.rs @@ -980,9 +980,8 @@ mod test_finalize_block { wrapper.set_code(Code::new( format!("transaction data: {}", i).as_bytes().to_owned(), )); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); if i > 1 { @@ -1055,7 +1054,6 @@ mod test_finalize_block { outer_tx.set_data(Data::new( String::from("transaction data").as_bytes().to_owned(), )); - outer_tx.encrypt(&Default::default()); shell.enqueue_tx(outer_tx.clone()); outer_tx.update_header(TxType::Decrypted(DecryptedTx::Decrypted { @@ -1178,7 +1176,6 @@ mod test_finalize_block { .as_bytes() .to_owned(), )); - outer_tx.encrypt(&Default::default()); shell.enqueue_tx(outer_tx.clone()); outer_tx.update_header(TxType::Decrypted(DecryptedTx::Decrypted { #[cfg(not(feature = "mainnet"))] @@ -1215,12 +1212,8 @@ mod test_finalize_block { .as_bytes() .to_owned(), )); - wrapper_tx.encrypt(&Default::default()); wrapper_tx.add_section(Section::Signature(Signature::new( - vec![ - wrapper_tx.header_hash(), - wrapper_tx.sections[0].get_hash(), - ], + wrapper_tx.sechashes(), &keypair, ))); valid_txs.push(wrapper_tx.clone()); @@ -1745,7 +1738,6 @@ mod test_finalize_block { "Encrypted transaction data".as_bytes().to_owned(), )); let mut decrypted_tx = wrapper_tx.clone(); - wrapper_tx.encrypt(&Default::default()); decrypted_tx.update_header(TxType::Decrypted(DecryptedTx::Decrypted { #[cfg(not(feature = "mainnet"))] diff --git a/apps/src/lib/node/ledger/shell/mod.rs b/apps/src/lib/node/ledger/shell/mod.rs index 7766282569..db9b0351e9 100644 --- a/apps/src/lib/node/ledger/shell/mod.rs +++ b/apps/src/lib/node/ledger/shell/mod.rs @@ -1251,7 +1251,6 @@ mod test_utils { wrapper.header.chain_id = shell.chain_id.clone(); wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); - wrapper.encrypt(&Default::default()); shell.wl_storage.storage.tx_queue.push(TxInQueue { tx: wrapper, @@ -1320,7 +1319,6 @@ mod test_mempool_validate { unsigned_wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); unsigned_wrapper .set_data(Data::new("transaction data".as_bytes().to_owned())); - unsigned_wrapper.encrypt(&Default::default()); let mut result = shell.mempool_validate( unsigned_wrapper.to_bytes().as_ref(), @@ -1357,12 +1355,8 @@ mod test_mempool_validate { invalid_wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); invalid_wrapper .set_data(Data::new("transaction data".as_bytes().to_owned())); - invalid_wrapper.encrypt(&Default::default()); invalid_wrapper.add_section(Section::Signature(Signature::new( - vec![ - invalid_wrapper.header_hash(), - invalid_wrapper.sections[0].get_hash(), - ], + invalid_wrapper.sechashes(), &keypair, ))); @@ -1424,9 +1418,8 @@ mod test_mempool_validate { wrapper.header.chain_id = shell.chain_id.clone(); wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); diff --git a/apps/src/lib/node/ledger/shell/prepare_proposal.rs b/apps/src/lib/node/ledger/shell/prepare_proposal.rs index d13cf44f4d..fd0984d806 100644 --- a/apps/src/lib/node/ledger/shell/prepare_proposal.rs +++ b/apps/src/lib/node/ledger/shell/prepare_proposal.rs @@ -327,7 +327,6 @@ mod test_prepare_proposal { wrapper.header.chain_id = shell.chain_id.clone(); wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction_data".as_bytes().to_owned())); - wrapper.encrypt(&Default::default()); let wrapper = wrapper.to_bytes(); #[allow(clippy::redundant_clone)] let req = RequestPrepareProposal { @@ -370,9 +369,8 @@ mod test_prepare_proposal { tx.set_data(Data::new( format!("transaction data: {}", i).as_bytes().to_owned(), )); - tx.encrypt(&Default::default()); tx.add_section(Section::Signature(Signature::new( - vec![tx.header_hash(), tx.sections[0].get_hash()], + tx.sechashes(), &keypair, ))); @@ -437,9 +435,8 @@ mod test_prepare_proposal { wrapper.header.chain_id = shell.chain_id.clone(); wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); @@ -489,9 +486,8 @@ mod test_prepare_proposal { wrapper.header.chain_id = shell.chain_id.clone(); wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); @@ -530,9 +526,8 @@ mod test_prepare_proposal { wrapper.header.chain_id = shell.chain_id.clone(); wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); let inner_unsigned_hash = @@ -585,9 +580,8 @@ mod test_prepare_proposal { wrapper.set_code(tx_code.clone()); let tx_data = Data::new("transaction data".as_bytes().to_owned()); wrapper.set_data(tx_data.clone()); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); @@ -607,12 +601,8 @@ mod test_prepare_proposal { new_wrapper.header.timestamp = wrapper.header.timestamp; new_wrapper.set_code(tx_code); new_wrapper.set_data(tx_data); - new_wrapper.encrypt(&Default::default()); new_wrapper.add_section(Section::Signature(Signature::new( - vec![ - new_wrapper.header_hash(), - new_wrapper.sections[0].get_hash(), - ], + wrapper.sechashes(), &keypair, ))); @@ -653,9 +643,8 @@ mod test_prepare_proposal { wrapper_tx.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper_tx .set_data(Data::new("transaction data".as_bytes().to_owned())); - wrapper_tx.encrypt(&Default::default()); wrapper_tx.add_section(Section::Signature(Signature::new( - vec![wrapper_tx.header_hash(), wrapper_tx.sections[0].get_hash()], + wrapper_tx.sechashes(), &keypair, ))); diff --git a/apps/src/lib/node/ledger/shell/process_proposal.rs b/apps/src/lib/node/ledger/shell/process_proposal.rs index 57ddcc2552..43d73538b0 100644 --- a/apps/src/lib/node/ledger/shell/process_proposal.rs +++ b/apps/src/lib/node/ledger/shell/process_proposal.rs @@ -549,7 +549,6 @@ mod test_process_proposal { outer_tx.header.chain_id = shell.chain_id.clone(); outer_tx.set_code(Code::new("wasm_code".as_bytes().to_owned())); outer_tx.set_data(Data::new("transaction data".as_bytes().to_owned())); - outer_tx.encrypt(&Default::default()); let tx = outer_tx.to_bytes(); #[allow(clippy::redundant_clone)] let request = ProcessProposal { @@ -594,9 +593,8 @@ mod test_process_proposal { outer_tx.header.chain_id = shell.chain_id.clone(); outer_tx.set_code(Code::new("wasm_code".as_bytes().to_owned())); outer_tx.set_data(Data::new("transaction data".as_bytes().to_owned())); - outer_tx.encrypt(&Default::default()); outer_tx.add_section(Section::Signature(Signature::new( - vec![outer_tx.header_hash(), outer_tx.sections[0].get_hash()], + outer_tx.sechashes(), &keypair, ))); let mut new_tx = outer_tx.clone(); @@ -658,9 +656,8 @@ mod test_process_proposal { outer_tx.header.chain_id = shell.chain_id.clone(); outer_tx.set_code(Code::new("wasm_code".as_bytes().to_owned())); outer_tx.set_data(Data::new("transaction data".as_bytes().to_owned())); - outer_tx.encrypt(&Default::default()); outer_tx.add_section(Section::Signature(Signature::new( - vec![outer_tx.header_hash(), outer_tx.sections[0].get_hash()], + outer_tx.sechashes(), &keypair, ))); @@ -725,9 +722,8 @@ mod test_process_proposal { outer_tx.header.chain_id = shell.chain_id.clone(); outer_tx.set_code(Code::new("wasm_code".as_bytes().to_owned())); outer_tx.set_data(Data::new("transaction data".as_bytes().to_owned())); - outer_tx.encrypt(&Default::default()); outer_tx.add_section(Section::Signature(Signature::new( - vec![outer_tx.header_hash(), outer_tx.sections[0].get_hash()], + outer_tx.sechashes(), &keypair, ))); @@ -778,7 +774,6 @@ mod test_process_proposal { outer_tx.set_data(Data::new( format!("transaction data: {}", i).as_bytes().to_owned(), )); - outer_tx.encrypt(&Default::default()); shell.enqueue_tx(outer_tx.clone()); outer_tx.update_header(TxType::Decrypted(DecryptedTx::Decrypted { @@ -835,7 +830,6 @@ mod test_process_proposal { tx.header.chain_id = shell.chain_id.clone(); tx.set_code(Code::new("wasm_code".as_bytes().to_owned())); tx.set_data(Data::new("transaction data".as_bytes().to_owned())); - tx.encrypt(&Default::default()); shell.enqueue_tx(tx.clone()); tx.header.tx_type = TxType::Decrypted(DecryptedTx::Undecryptable); @@ -885,7 +879,6 @@ mod test_process_proposal { tx.set_data(Data::new("transaction data".as_bytes().to_owned())); tx.set_code_sechash(Hash([0u8; 32])); tx.set_data_sechash(Hash([0u8; 32])); - tx.encrypt(&Default::default()); shell.enqueue_tx(tx.clone()); @@ -1034,9 +1027,8 @@ mod test_process_proposal { wrapper.header.chain_id = shell.chain_id.clone(); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); @@ -1106,9 +1098,8 @@ mod test_process_proposal { wrapper.header.chain_id = shell.chain_id.clone(); wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); @@ -1164,9 +1155,8 @@ mod test_process_proposal { wrapper.header.chain_id = shell.chain_id.clone(); wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); let inner_unsigned_hash = @@ -1249,9 +1239,8 @@ mod test_process_proposal { wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); let mut new_wrapper = wrapper.clone(); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); let inner_unsigned_hash = @@ -1268,12 +1257,8 @@ mod test_process_proposal { #[cfg(not(feature = "mainnet"))] None, )))); - new_wrapper.encrypt(&Default::default()); new_wrapper.add_section(Section::Signature(Signature::new( - vec![ - new_wrapper.header_hash(), - new_wrapper.sections[0].get_hash(), - ], + new_wrapper.sechashes(), &keypair, ))); @@ -1324,9 +1309,8 @@ mod test_process_proposal { wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); let mut protocol_tx = wrapper.clone(); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); @@ -1392,17 +1376,12 @@ mod test_process_proposal { wrapper .set_data(Data::new("new transaction data".as_bytes().to_owned())); let mut decrypted = wrapper.clone(); - wrapper.encrypt(&Default::default()); decrypted.update_header(TxType::Decrypted(DecryptedTx::Decrypted { has_valid_pow: false, })); decrypted.add_section(Section::Signature(Signature::new( - vec![ - decrypted.header_hash(), - decrypted.sections[0].get_hash(), - decrypted.sections[1].get_hash(), - ], + decrypted.sechashes(), &keypair, ))); let wrapper_in_queue = TxInQueue { @@ -1456,9 +1435,8 @@ mod test_process_proposal { wrapper.header.expiration = Some(DateTimeUtc::now()); wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned())); wrapper.set_data(Data::new("transaction data".as_bytes().to_owned())); - wrapper.encrypt(&Default::default()); wrapper.add_section(Section::Signature(Signature::new( - vec![wrapper.header_hash(), wrapper.sections[0].get_hash()], + wrapper.sechashes(), &keypair, ))); @@ -1501,17 +1479,12 @@ mod test_process_proposal { wrapper .set_data(Data::new("new transaction data".as_bytes().to_owned())); let mut decrypted = wrapper.clone(); - wrapper.encrypt(&Default::default()); decrypted.update_header(TxType::Decrypted(DecryptedTx::Decrypted { has_valid_pow: false, })); decrypted.add_section(Section::Signature(Signature::new( - vec![ - decrypted.header_hash(), - decrypted.sections[0].get_hash(), - decrypted.sections[1].get_hash(), - ], + decrypted.sechashes(), &keypair, ))); let wrapper_in_queue = TxInQueue { diff --git a/core/src/types/transaction/mod.rs b/core/src/types/transaction/mod.rs index 8f15b9df61..e43ff2ea97 100644 --- a/core/src/types/transaction/mod.rs +++ b/core/src/types/transaction/mod.rs @@ -331,9 +331,8 @@ mod test_process_tx { )))); tx.set_code(Code::new("wasm code".as_bytes().to_owned())); tx.set_data(Data::new("transaction data".as_bytes().to_owned())); - tx.encrypt(&Default::default()); tx.add_section(Section::Signature(Signature::new( - vec![tx.header_hash(), tx.sections[0].get_hash()], + tx.sechashes(), &keypair, ))); @@ -367,7 +366,6 @@ mod test_process_tx { )))); tx.set_code(Code::new("wasm code".as_bytes().to_owned())); tx.set_data(Data::new("transaction data".as_bytes().to_owned())); - tx.encrypt(&Default::default()); let result = tx.validate_tx().expect_err("Test failed"); assert_matches!(result, TxError::SigError(_)); } diff --git a/core/src/types/transaction/wrapper.rs b/core/src/types/transaction/wrapper.rs index 9321421f2c..26559c477e 100644 --- a/core/src/types/transaction/wrapper.rs +++ b/core/src/types/transaction/wrapper.rs @@ -378,6 +378,10 @@ pub mod wrapper_tx { tx.set_code(Code::new("wasm code".as_bytes().to_owned())); tx.set_data(Data::new("transaction data".as_bytes().to_owned())); + tx.add_section(Section::Signature(Signature::new( + tx.sechashes(), + &keypair, + ))); // we now try to alter the inner tx maliciously // malicious transaction @@ -385,12 +389,6 @@ pub mod wrapper_tx { // We change the commitment appropriately let malicious = "Give me all the money".as_bytes().to_owned(); tx.set_data(Data::new(malicious.clone())); - tx.encrypt(&Default::default()); - - tx.add_section(Section::Signature(Signature::new( - vec![tx.header_hash(), tx.sections[0].get_hash()], - &keypair, - ))); // we check ciphertext validity still passes assert!(tx.validate_ciphertext()); diff --git a/wasm/checksums.json b/wasm/checksums.json index c2c7bd276d..c4b2f1b09a 100644 --- a/wasm/checksums.json +++ b/wasm/checksums.json @@ -1,21 +1,21 @@ { - "tx_bond.wasm": "tx_bond.4bf2754fa3ef7b9d805199a16f9c18edbba99e71237ed918d30328f4dccc2ac8.wasm", - "tx_change_validator_commission.wasm": "tx_change_validator_commission.7bcdbf8dbd5b3fccfedea937979810a1a608b46eb869e95c2206d78fe6fc1785.wasm", - "tx_ibc.wasm": "tx_ibc.3f237f4e8a912010b6a033163a9802a153bd526e96c10b4f3973deb153f3dd6d.wasm", - "tx_init_account.wasm": "tx_init_account.70af44b96936f6813666cb3cc0b8e94429813dce7cc74f54cedb4be1134139f4.wasm", - "tx_init_proposal.wasm": "tx_init_proposal.29141cfd8deabb4767eae037bfcec56974d235ed8f3eb2e3e3ec2b8269a043dc.wasm", - "tx_init_validator.wasm": "tx_init_validator.6b0ba72807e055488fa87876f457740b6f97b9245147c1266c3a65afa838574f.wasm", - "tx_reveal_pk.wasm": "tx_reveal_pk.20783039d8d9b41278244346fba3e194f5dcbf213244756f1cced243c86fbd0d.wasm", - "tx_transfer.wasm": "tx_transfer.74b99599e8516dcd2c55b8aa658d4fada31c8dcc1ef764a4660c104a21bbdd42.wasm", - "tx_unbond.wasm": "tx_unbond.03e0eb4788446882b3468762952b35ea8654e207015b8f3d2ffa0fcf2eb0c661.wasm", - "tx_unjail_validator.wasm": "tx_unjail_validator.98d9d5ad88f90eeaf8db56663dc6daa94d70eb6c8e78aeb3ff06997e1f684d64.wasm", - "tx_update_vp.wasm": "tx_update_vp.c3554d7f5dd7a525f47061263827431531671dffe6d39c8098ee56dfbc793ea0.wasm", - "tx_vote_proposal.wasm": "tx_vote_proposal.2e808e951e01f5fcea322a08b220f966a2ae35bf1128d59aa331ec8d91b97557.wasm", - "tx_withdraw.wasm": "tx_withdraw.230576e58374ccfd9270a670f922ef14abe88e01824df43e74afc37c6b63580e.wasm", - "vp_implicit.wasm": "vp_implicit.64cc57b9b53630ca8737bd5cebb525f1228bd9cf8acbd43fdb3ecbc7db2c3dde.wasm", - "vp_masp.wasm": "vp_masp.b2d284458f2a4fbff61d5294306421904095ee56d39c1d009c8d64502d42cb2b.wasm", - "vp_testnet_faucet.wasm": "vp_testnet_faucet.06dd70f6e7742eefc8834deb5fca10490afecd19d8b97f8d0f1c1be3ab222f33.wasm", - "vp_token.wasm": "vp_token.aff04ac024e7ecb19900fee92be2463a6cd7ddc81dac19dc64bc0b50d0c9752e.wasm", - "vp_user.wasm": "vp_user.7b6e898b83c38df822453c060506ff61a814f7b41236ff7775d741e9defa7f06.wasm", - "vp_validator.wasm": "vp_validator.ae5a2adefca0927dff90ea9f279ab626f0eb999aa164348a25c7837e1949ad61.wasm" + "tx_bond.wasm": "tx_bond.3d5d0d5dbdd9b5a8d4d39dcad95ce03ac735a66bf7333202612c205e5732e709.wasm", + "tx_change_validator_commission.wasm": "tx_change_validator_commission.38fbd1fcf72b709ea1283f4f8b1b359ed8363a4295e99ad70c5ef900e03927cb.wasm", + "tx_ibc.wasm": "tx_ibc.5e717d9201dbea4cd21edb0663d09c04f5dae1e2d03b94f0701f40a0aea0b98f.wasm", + "tx_init_account.wasm": "tx_init_account.83fde546aec31c8dc5ed55d19e0945845c38d501f315fb61dff5fd205f76ee73.wasm", + "tx_init_proposal.wasm": "tx_init_proposal.e1c7ccde01e4b5842ac44c371283ed59db09090d5bd2733c14cc02bbf70ed43d.wasm", + "tx_init_validator.wasm": "tx_init_validator.3a981ad1bef6164a45ccdc979b19a84ce00cf1af31bb97858c4b0348609ca730.wasm", + "tx_reveal_pk.wasm": "tx_reveal_pk.70b708ce4d563bc0085dbe8d7b1bb119f141ffc4c2f9a0482c4915357354d712.wasm", + "tx_transfer.wasm": "tx_transfer.057815f7025e490a92b68c08a0f217f0c8549e0f8e526b18db20c7cc7b5f54f7.wasm", + "tx_unbond.wasm": "tx_unbond.d3ada37218a78776896dd7d10cf31c34101b65266086980aea5e6b56296da2e0.wasm", + "tx_unjail_validator.wasm": "tx_unjail_validator.d0cd088df609d028357f7fe188be5a261c5dc698ae8e044ad9486da379daadc2.wasm", + "tx_update_vp.wasm": "tx_update_vp.d485dc6df8581c8124e7d045f885c02b5347e98a837016ffff39b785b4d4a9bb.wasm", + "tx_vote_proposal.wasm": "tx_vote_proposal.ea45a5e2ceb3446076143a0c8bfb45e0b8aa9e384767522fb46ff09abdab3f8b.wasm", + "tx_withdraw.wasm": "tx_withdraw.bdfe0a61cb92885806181b8aa9e9c98d0eff3e3dda7d595d8ae44edfa5196e91.wasm", + "vp_implicit.wasm": "vp_implicit.9499d87a99caeae0050f4b87ea99902d49ccd2d04ae8f9bd86759cc65d8c9a9a.wasm", + "vp_masp.wasm": "vp_masp.6b1a84040361e7e1b663842fdcde7b6beba6e27f5c3ad20ce099b35f377b796c.wasm", + "vp_testnet_faucet.wasm": "vp_testnet_faucet.6598a22e6e475cc38e1b1310b707df508820d16da351607081fa552ea58d1784.wasm", + "vp_token.wasm": "vp_token.854835c7bb73bfa38b9021c14dc8482883fb0ece261f3eabb02d419ed5b54b08.wasm", + "vp_user.wasm": "vp_user.528c1d245a77d927e1dbc26cd7935b0b189eda5dc87baf767cf766593ed8e64a.wasm", + "vp_validator.wasm": "vp_validator.19c8c940b364941deea8d6edb5b5553f73b34e0a15e3c11defc8d0a1ae61a409.wasm" } \ No newline at end of file diff --git a/wasm_for_tests/tx_memory_limit.wasm b/wasm_for_tests/tx_memory_limit.wasm index de0e03f693..65986ba62c 100755 Binary files a/wasm_for_tests/tx_memory_limit.wasm and b/wasm_for_tests/tx_memory_limit.wasm differ diff --git a/wasm_for_tests/tx_mint_tokens.wasm b/wasm_for_tests/tx_mint_tokens.wasm index 213d02ef4b..b8e79bf277 100755 Binary files a/wasm_for_tests/tx_mint_tokens.wasm and b/wasm_for_tests/tx_mint_tokens.wasm differ diff --git a/wasm_for_tests/tx_no_op.wasm b/wasm_for_tests/tx_no_op.wasm index 29e77914d9..442d389219 100755 Binary files a/wasm_for_tests/tx_no_op.wasm and b/wasm_for_tests/tx_no_op.wasm differ diff --git a/wasm_for_tests/tx_proposal_code.wasm b/wasm_for_tests/tx_proposal_code.wasm index c25351752e..6274a577e6 100755 Binary files a/wasm_for_tests/tx_proposal_code.wasm and b/wasm_for_tests/tx_proposal_code.wasm differ diff --git a/wasm_for_tests/tx_read_storage_key.wasm b/wasm_for_tests/tx_read_storage_key.wasm index 4253b855e9..47d8146214 100755 Binary files a/wasm_for_tests/tx_read_storage_key.wasm and b/wasm_for_tests/tx_read_storage_key.wasm differ diff --git a/wasm_for_tests/tx_write.wasm b/wasm_for_tests/tx_write.wasm index 6df9bbe97a..e57518da8a 100755 Binary files a/wasm_for_tests/tx_write.wasm and b/wasm_for_tests/tx_write.wasm differ diff --git a/wasm_for_tests/vp_always_false.wasm b/wasm_for_tests/vp_always_false.wasm index 365f474ad2..7570330052 100755 Binary files a/wasm_for_tests/vp_always_false.wasm and b/wasm_for_tests/vp_always_false.wasm differ diff --git a/wasm_for_tests/vp_always_true.wasm b/wasm_for_tests/vp_always_true.wasm index 358bc53951..cb533c89ef 100755 Binary files a/wasm_for_tests/vp_always_true.wasm and b/wasm_for_tests/vp_always_true.wasm differ diff --git a/wasm_for_tests/vp_eval.wasm b/wasm_for_tests/vp_eval.wasm index 0295e0d6e3..0e63eb8909 100755 Binary files a/wasm_for_tests/vp_eval.wasm and b/wasm_for_tests/vp_eval.wasm differ diff --git a/wasm_for_tests/vp_memory_limit.wasm b/wasm_for_tests/vp_memory_limit.wasm index 550bb9769b..16a82ac201 100755 Binary files a/wasm_for_tests/vp_memory_limit.wasm and b/wasm_for_tests/vp_memory_limit.wasm differ diff --git a/wasm_for_tests/vp_read_storage_key.wasm b/wasm_for_tests/vp_read_storage_key.wasm index a16c95db14..a55047fca8 100755 Binary files a/wasm_for_tests/vp_read_storage_key.wasm and b/wasm_for_tests/vp_read_storage_key.wasm differ