the basefee opcode (#142)

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
Cyrill Leutwiler authored and GitHub committed 2024-12-19 18:59:10 +01:00
1 parent 6ad846a285
commit d8752ec6b5
7 files changed
+410 -373

No files matched your search

@@ -137,7 +137,7 @@ pub fn basefee<'ctx, D>(
where
D: Dependency + Clone,
{
Ok(context.word_const(0).as_basic_value_enum())
context.build_runtime_call_to_getter(revive_runtime_api::polkavm_imports::BASE_FEE)
}
/// Translates the `address` instruction.