Skip to content

Commit

Permalink
sync w latest near-runtime & remove genesis config
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyTimes committed Feb 9, 2022
1 parent 6961713 commit 35efab4
Show file tree
Hide file tree
Showing 29 changed files with 458 additions and 5,184 deletions.
19 changes: 0 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ members = [
'crates/skw-vm-engine',
'crates/skw-vm-engine-cli',
'crates/skw-vm-runtime',
'crates/skw-vm-genesis-configs',
'crates/skw-vm-pool',
'crates/near-test-contracts',
'crates/skw-vm-store',
Expand Down
2 changes: 1 addition & 1 deletion crates/near-contract-standards/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "near-contract-standards"
version = "4.0.0-pre.5"
authors = ["Near Inc <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0"
categories = ["wasm"]
repository = "https://github.com/near/near-sdk-rs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ skw_contract_sim::lazy_static_include::lazy_static_include_bytes! {
}

fn init() -> (UserAccount, ContractAccount<CallbackContract>) {
let mut genesis = skw_contract_sim::runtime::GenesisConfig::default();
let mut genesis = skw_contract_sim::runtime::GenesisBlockConfig::default();
genesis.gas_limit = u64::MAX;
genesis.gas_price = 0;
let master_account = init_simulator(Some(genesis));
Expand Down
Loading

0 comments on commit 35efab4

Please sign in to comment.