Created
April 11, 2024 15:13
-
-
Save akashin/26eeb3b1d5227a266caa626dddd7337d to your computer and use it in GitHub Desktop.
Gas cost change logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2024-04-11 16:07:54] INFO: Use default config {'local': True, 'near_root': '/home/akashin/repos/nearcore/target/debug', 'binary_name': 'neard', 'release': False} | |
[2024-04-11 16:07:54] INFO: Creating LOCAL cluster configuration with 2 nodes | |
[2024-04-11 16:07:54] INFO: Search for stdout and stderr in ['/home/akashin/.near/test0', '/home/akashin/.near/test1'] | |
[2024-04-11 16:07:54] INFO: Starting node 0 as BOOT NODE | |
[2024-04-11 16:07:59] INFO: node 0 started | |
[2024-04-11 16:07:59] INFO: Starting node 1 with --boot-nodes=He7QeRuwizNEhBioYG3u4DZ8jWXyETiyNzFD3MkTjDMf@127.0.0.1:24577 | |
[2024-04-11 16:08:04] INFO: node 1 started | |
{ | |
"jsonrpc": "2.0", | |
"result": { | |
"final_execution_status": "EXECUTED_OPTIMISTIC", | |
"receipts_outcome": [ | |
{ | |
"block_hash": "3rY65aooma1hod2yR7BC81uFBQxFPrgnxxyR4gMhVzVg", | |
"id": "4xQqRzaBfRBDKiosUX6q5nS6ZGp5be3uxCJBB9E3dnSz", | |
"outcome": { | |
"executor_id": "test0", | |
"gas_burnt": 1007010770879, | |
"logs": [ | |
"hello" | |
], | |
"metadata": { | |
"gas_profile": [ | |
{ | |
"cost": "BASE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "264768111" | |
}, | |
{ | |
"cost": "CONTRACT_LOADING_BASE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "35445963" | |
}, | |
{ | |
"cost": "CONTRACT_LOADING_BYTES", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "107804258265" | |
}, | |
{ | |
"cost": "LOG_BASE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "3543313050" | |
}, | |
{ | |
"cost": "LOG_BYTE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "65993955" | |
}, | |
{ | |
"cost": "READ_MEMORY_BASE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "2609863200" | |
}, | |
{ | |
"cost": "READ_MEMORY_BYTE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "19006665" | |
}, | |
{ | |
"cost": "UTF8_DECODING_BASE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "3111779061" | |
}, | |
{ | |
"cost": "UTF8_DECODING_BYTE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "1457902395" | |
}, | |
{ | |
"cost": "WASM_INSTRUCTION", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "9873072" | |
} | |
], | |
"version": 3 | |
}, | |
"receipt_ids": [ | |
"FTPBuDFLo6WBs6DNub8eRvFrtFASgfHTMQtwiRa6yZUP" | |
], | |
"status": { | |
"SuccessValue": "" | |
}, | |
"tokens_burnt": "100701077087900000000" | |
}, | |
"proof": [ | |
{ | |
"direction": "Left", | |
"hash": "FKcYkrKU5UviaztbPpcbicA7KXyQzUEf9aoW3zcLV7nD" | |
} | |
] | |
} | |
], | |
"status": { | |
"SuccessValue": "" | |
}, | |
"transaction": { | |
"actions": [ | |
{ | |
"FunctionCall": { | |
"args": "", | |
"deposit": "1", | |
"gas": 150000000000, | |
"method_name": "log_something" | |
} | |
} | |
], | |
"hash": "2KyZ5kfVQuc55f2vXwCooGf1nJALD8gjxRPpi2e5ntMW", | |
"nonce": 20, | |
"public_key": "ed25519:He7QeRuwizNEhBioYG3u4DZ8jWXyETiyNzFD3MkTjDMf", | |
"receiver_id": "test0", | |
"signature": "ed25519:4seKNHAvXpjK29RsFjHvfyq1cosfjQbbcLB2kbZrFdTt7xA4NpckKRPpdZRQwtnquHfMLAudp2YbST4N4CzBQqUP", | |
"signer_id": "test0" | |
}, | |
"transaction_outcome": { | |
"block_hash": "3rY65aooma1hod2yR7BC81uFBQxFPrgnxxyR4gMhVzVg", | |
"id": "2KyZ5kfVQuc55f2vXwCooGf1nJALD8gjxRPpi2e5ntMW", | |
"outcome": { | |
"executor_id": "test0", | |
"gas_burnt": 308088567142, | |
"logs": [], | |
"metadata": { | |
"gas_profile": null, | |
"version": 1 | |
}, | |
"receipt_ids": [ | |
"4xQqRzaBfRBDKiosUX6q5nS6ZGp5be3uxCJBB9E3dnSz" | |
], | |
"status": { | |
"SuccessReceiptId": "4xQqRzaBfRBDKiosUX6q5nS6ZGp5be3uxCJBB9E3dnSz" | |
}, | |
"tokens_burnt": "30808856714200000000" | |
}, | |
"proof": [ | |
{ | |
"direction": "Right", | |
"hash": "DA2MoJnSqcJmA2cPHLFevGbp4eMN4kPVzXtpUYkq928h" | |
} | |
] | |
} | |
}, | |
"id": "dontcare" | |
} | |
[2024-04-11 16:08:08] INFO: Cleaning up node 127.0.0.1:24578 on script exit | |
[2024-04-11 16:08:08] INFO: Executed store validity tests: 259 | |
[2024-04-11 16:08:08] INFO: === stdout: available at /home/akashin/.near/test1_finished/stdout | |
[2024-04-11 16:08:08] INFO: === stderr: available at /home/akashin/.near/test1_finished/stderr | |
[2024-04-11 16:08:08] INFO: Cleaning up node 127.0.0.1:24577 on script exit | |
[2024-04-11 16:08:08] INFO: Executed store validity tests: 101 | |
[2024-04-11 16:08:08] INFO: === stdout: available at /home/akashin/.near/test0_finished/stdout | |
[2024-04-11 16:08:08] INFO: === stderr: available at /home/akashin/.near/test0_finished/stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2024-04-11 16:12:03] INFO: Use default config {'local': True, 'near_root': '/home/akashin/repos/nearcore/target/debug', 'binary_name': 'neard', 'release': False} | |
[2024-04-11 16:12:03] INFO: Creating LOCAL cluster configuration with 2 nodes | |
[2024-04-11 16:12:03] INFO: Search for stdout and stderr in ['/home/akashin/.near/test0', '/home/akashin/.near/test1'] | |
[2024-04-11 16:12:03] INFO: Starting node 0 as BOOT NODE | |
[2024-04-11 16:12:08] INFO: node 0 started | |
[2024-04-11 16:12:08] INFO: Starting node 1 with --boot-nodes=He7QeRuwizNEhBioYG3u4DZ8jWXyETiyNzFD3MkTjDMf@127.0.0.1:24577 | |
[2024-04-11 16:12:13] INFO: node 1 started | |
{ | |
"jsonrpc": "2.0", | |
"result": { | |
"final_execution_status": "EXECUTED_OPTIMISTIC", | |
"receipts_outcome": [ | |
{ | |
"block_hash": "AZf9ieUYep75DD9PkAp4sxFT5zHM8XnVTc2N1xLwHD1F", | |
"id": "9csYYq9TEPx5pGmrnLx1bJGGdJL1tiEwoCoWi6iKUXrU", | |
"outcome": { | |
"executor_id": "test0", | |
"gas_burnt": 2460519109864, | |
"logs": [ | |
"hello" | |
], | |
"metadata": { | |
"gas_profile": [ | |
{ | |
"cost": "BASE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "264768111" | |
}, | |
{ | |
"cost": "CONTRACT_LOADING_BASE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "35445963" | |
}, | |
{ | |
"cost": "CONTRACT_LOADING_BYTES", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "21451097250" | |
}, | |
{ | |
"cost": "LOG_BASE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "3543313050" | |
}, | |
{ | |
"cost": "LOG_BYTE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "65993955" | |
}, | |
{ | |
"cost": "READ_MEMORY_BASE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "2609863200" | |
}, | |
{ | |
"cost": "READ_MEMORY_BYTE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "19006665" | |
}, | |
{ | |
"cost": "UTF8_DECODING_BASE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "3111779061" | |
}, | |
{ | |
"cost": "UTF8_DECODING_BYTE", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "1457902395" | |
}, | |
{ | |
"cost": "WASM_INSTRUCTION", | |
"cost_category": "WASM_HOST_COST", | |
"gas_used": "9873072" | |
} | |
], | |
"version": 3 | |
}, | |
"receipt_ids": [ | |
"4uUsyuTpZVBZ5tkpNP6ZAWQV14yrqLYRNnTHhBsqrskp" | |
], | |
"status": { | |
"SuccessValue": "" | |
}, | |
"tokens_burnt": "246051910986400000000" | |
}, | |
"proof": [ | |
{ | |
"direction": "Left", | |
"hash": "7jcq4vQWcqEDSssPCMRLfPWwf9KgXF2H1dhNt4FqwYZ9" | |
} | |
] | |
} | |
], | |
"status": { | |
"SuccessValue": "" | |
}, | |
"transaction": { | |
"actions": [ | |
{ | |
"FunctionCall": { | |
"args": "", | |
"deposit": "100000000000", | |
"gas": 100000000000, | |
"method_name": "log_something" | |
} | |
} | |
], | |
"hash": "3VJzQtzpRpRh5tkyV9NrWgwypY8FUmzoQRkgmKEdXprw", | |
"nonce": 20, | |
"public_key": "ed25519:He7QeRuwizNEhBioYG3u4DZ8jWXyETiyNzFD3MkTjDMf", | |
"receiver_id": "test0", | |
"signature": "ed25519:53WEmWV8C84pQUEcvPRYcS9DnrszeR3pJYoXu95x2GD9g6uUKBy8DKHPRVC1DdhHeurMwE3oaTw6jUwnzPMN5az7", | |
"signer_id": "test0" | |
}, | |
"transaction_outcome": { | |
"block_hash": "AZf9ieUYep75DD9PkAp4sxFT5zHM8XnVTc2N1xLwHD1F", | |
"id": "3VJzQtzpRpRh5tkyV9NrWgwypY8FUmzoQRkgmKEdXprw", | |
"outcome": { | |
"executor_id": "test0", | |
"gas_burnt": 2427950067142, | |
"logs": [], | |
"metadata": { | |
"gas_profile": null, | |
"version": 1 | |
}, | |
"receipt_ids": [ | |
"9csYYq9TEPx5pGmrnLx1bJGGdJL1tiEwoCoWi6iKUXrU" | |
], | |
"status": { | |
"SuccessReceiptId": "9csYYq9TEPx5pGmrnLx1bJGGdJL1tiEwoCoWi6iKUXrU" | |
}, | |
"tokens_burnt": "242795006714200000000" | |
}, | |
"proof": [ | |
{ | |
"direction": "Right", | |
"hash": "52fay3YnwbpGLvwvn8ePABNc69wcdZY3HnT1mvijeXk2" | |
} | |
] | |
} | |
}, | |
"id": "dontcare" | |
} | |
[2024-04-11 16:12:17] INFO: Cleaning up node 127.0.0.1:24578 on script exit | |
[2024-04-11 16:12:17] INFO: Executed store validity tests: 259 | |
[2024-04-11 16:12:17] INFO: === stdout: available at /home/akashin/.near/test1_finished/stdout | |
[2024-04-11 16:12:17] INFO: === stderr: available at /home/akashin/.near/test1_finished/stderr | |
[2024-04-11 16:12:17] INFO: Cleaning up node 127.0.0.1:24577 on script exit | |
[2024-04-11 16:12:17] INFO: Executed store validity tests: 101 | |
[2024-04-11 16:12:17] INFO: === stdout: available at /home/akashin/.near/test0_finished/stdout | |
[2024-04-11 16:12:17] INFO: === stderr: available at /home/akashin/.near/test0_finished/stderr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment