diff --git a/web3.js/examples/bpf-c-noop/src/noop.c b/web3.js/examples/bpf-c-noop/src/noop.c index 5d51182a48..3ea4a20e3a 100644 --- a/web3.js/examples/bpf-c-noop/src/noop.c +++ b/web3.js/examples/bpf-c-noop/src/noop.c @@ -10,12 +10,14 @@ extern bool entrypoint(const uint8_t *input) { uint64_t ka_len; const uint8_t *data; uint64_t data_len; + SolClusterInfo info; sol_log("Hello World"); - if (!sol_deserialize(input, ka, SOL_ARRAY_SIZE(ka), &ka_len, &data, &data_len)) { + if (!sol_deserialize(input, ka, SOL_ARRAY_SIZE(ka), &ka_len, &data, &data_len, &info)) { return false; } - sol_log_params(ka_len, ka, data, data_len); + sol_log_64(info.tick_height, 0, 0, 0, 0); + sol_log_params(ka, ka_len, data, data_len); return true; } diff --git a/web3.js/test/fixtures/noop/noop.o b/web3.js/test/fixtures/noop/noop.o index 3fe091225e..8645eb135d 100644 Binary files a/web3.js/test/fixtures/noop/noop.o and b/web3.js/test/fixtures/noop/noop.o differ