Skip to content

Commit

Permalink
add support for Receipt#events_root (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk authored Nov 15, 2022
1 parent 93f90c3 commit aa39d65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fvm_actor_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cid = { version = "0.8.3", default-features = false, features = ["serde-codec"]
frc42_dispatch = { version = "1.0.0", path = "../frc42_dispatch" }
fvm_ipld_blockstore = "0.1.1"
fvm_ipld_encoding = "0.3.0"
fvm_shared = "3.0.0-alpha.8"
fvm_sdk = "3.0.0-alpha.8"
fvm_shared = "3.0.0-alpha.11"
fvm_sdk = "3.0.0-alpha.11"
num-traits = { version = "0.2.15" }
thiserror = { version = "1.0.31" }
3 changes: 2 additions & 1 deletion fvm_actor_utils/src/messaging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,11 @@ impl Messaging for FakeMessenger {
exit_code: ExitCode::USR_UNSPECIFIED,
gas_used: 0,
return_data: Default::default(),
events_root: None,
});
}

Ok(Receipt { exit_code: ExitCode::OK, return_data: Default::default(), gas_used: 0 })
Ok(Receipt { exit_code: ExitCode::OK, return_data: Default::default(), gas_used: 0, events_root: None })
}

fn resolve_id(&self, address: &Address) -> Result<ActorID> {
Expand Down

0 comments on commit aa39d65

Please sign in to comment.