Change wabt to wat (#7050)

This commit is contained in:
Sergei Shulepov
2020-09-08 22:49:54 +02:00
committed by GitHub
parent 27d5584fba
commit a137160924
8 changed files with 27 additions and 67 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ use node_runtime::{
constants::currency::*,
};
use node_primitives::{Balance, Hash};
use wabt;
use wat;
use node_testing::keyring::*;
pub mod common;
@@ -580,7 +580,7 @@ const CODE_TRANSFER: &str = r#"
#[test]
fn deploying_wasm_contract_should_work() {
let transfer_code = wabt::wat2wasm(CODE_TRANSFER).unwrap();
let transfer_code = wat::parse_str(CODE_TRANSFER).unwrap();
let transfer_ch = <Runtime as frame_system::Trait>::Hashing::hash(&transfer_code);
let addr = <Runtime as pallet_contracts::Trait>::DetermineContractAddress::contract_address_for(