mirror of
https://github.com/status-im/evmc.git
synced 2025-02-23 16:38:06 +00:00
examples: run the save_return_block_number example
This commit is contained in:
parent
4973da1802
commit
63334c331a
@ -37,7 +37,7 @@ int main(int argc, char* argv[])
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// EVM bytecode goes here. This is one of the examples.
|
// EVM bytecode goes here. This is one of the examples.
|
||||||
const uint8_t code[] = "\x30\x60\x00\x52\x59\x60\x00\xf3";
|
const uint8_t code[] = "\x43\x60\x00\x55\x43\x60\x00\x52\x59\x60\x00\xf3";
|
||||||
const size_t code_size = sizeof(code) - 1;
|
const size_t code_size = sizeof(code) - 1;
|
||||||
const uint8_t input[] = "Hello World!";
|
const uint8_t input[] = "Hello World!";
|
||||||
const evmc_uint256be value = {{1, 0}};
|
const evmc_uint256be value = {{1, 0}};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user