Skip to content

Commit

Permalink
Add missing default gas cost for some abis
Browse files Browse the repository at this point in the history
  • Loading branch information
sydhds committed Oct 9, 2024
1 parent df74119 commit 0165395
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ massa_wallet = { path = "./massa-wallet" }

# Massa projects dependencies
massa-proto-rs = { git = "https://github.com/massalabs/massa-proto-rs", branch = "mainnet_2_3" }
massa-sc-runtime = { git = "https://github.com/massalabs/massa-sc-runtime", "branch" = "next_breaking_update" }
massa-sc-runtime = { git = "https://github.com/massalabs/massa-sc-runtime", "branch" = "feature/inconsistent_gas_entries" }
peernet = { git = "https://github.com/massalabs/PeerNet", "rev" = "04b05ddd320fbe76cc858115af7b5fc28bdb8310" }
# Dev only - use local dependencies
# massa-proto-rs = { path = "../massa-proto-rs" }
Expand Down
8 changes: 7 additions & 1 deletion massa-node/base_config/gas_costs/abi_gas_costs.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,11 @@
"abi_unsafe_random": 402,
"abi_verify_signature": 1192,
"abi_chain_id": 301,
"launch_wasmv1": 18641
"launch_wasmv1": 18641,
"assembly_script_console_log": 171,
"assembly_script_console_info": 171,
"assembly_script_console_debug": 171,
"assembly_script_console_warn": 171,
"assembly_script_console_error": 171,
"assembly_script_trace": 171
}

0 comments on commit 0165395

Please sign in to comment.