Skip to content

Commit

Permalink
Merge branch 'main' into fix_stack_inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon authored Jun 14, 2024
2 parents 1a209b3 + 37e9307 commit 9c68639
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
15 changes: 7 additions & 8 deletions massa-execution-exports/src/mapping_grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,14 @@ pub fn to_querystate_filter(
Address::from_str(&value.address)?,
))
}
exec::RequestItem::AddressBytecodeFinal(value) => {
Ok(ExecutionQueryRequestItem::AddressBytecodeCandidate(
Address::from_str(&value.address)?,
))
}
exec::RequestItem::AddressBytecodeFinal(value) => Ok(
ExecutionQueryRequestItem::AddressBytecodeFinal(Address::from_str(&value.address)?),
),
exec::RequestItem::AddressDatastoreKeysCandidate(value) => {
Ok(ExecutionQueryRequestItem::AddressBytecodeCandidate(
Address::from_str(&value.address)?,
))
Ok(ExecutionQueryRequestItem::AddressDatastoreKeysCandidate {
addr: Address::from_str(&value.address)?,
prefix: value.prefix,
})
}
exec::RequestItem::AddressDatastoreKeysFinal(value) => {
Ok(ExecutionQueryRequestItem::AddressDatastoreKeysFinal {
Expand Down
2 changes: 1 addition & 1 deletion massa-final-state/src/final_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ impl FinalState {
}

/// Internal function called by is_db_valid
pub fn _is_db_valid(&self) -> AnyResult<()> {
fn _is_db_valid(&self) -> AnyResult<()> {
let db = self.db.read();

// check if the execution trial hash is present and valid
Expand Down

0 comments on commit 9c68639

Please sign in to comment.