Skip to content

Conversation

@mmsqe
Copy link
Contributor

@mmsqe mmsqe commented Oct 11, 2025

Description

for test info

Closes: #504 #705


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • tackled an existing issue or discussed with a team member
  • left instructions on how to review the changes
  • targeted the main branch

Comment on lines +204 to +210
for _, encodedData := range rawOverrides {
if overrideAccount, ok := encodedData.(map[string]interface{}); ok {
if cosmosOverrides := extractFromOverrideAccount(overrideAccount); cosmosOverrides != nil {
return nil, cosmosOverrides, nil
}
}
}

Check warning

Code scanning / CodeQL

Iteration over map

Iteration over map may be a possible source of non-determinism
@mmsqe mmsqe marked this pull request as ready for review October 21, 2025 01:15
Comment on lines +226 to +240
for stateType, stateValue := range overrideAccount {
if stateValue != nil {
if stateType == "" {
return make([]evmtypes.StoreStateDiff, 0)
}

if stateType == "state" || stateType == "stateDiff" {
if encodedStr, ok := stateValue.(string); ok {
if cosmosOverrides := decodeCosmosOverrides(encodedStr); cosmosOverrides != nil {
return cosmosOverrides
}
}
}
}
}

Check warning

Code scanning / CodeQL

Iteration over map

Iteration over map may be a possible source of non-determinism
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: no state overrides support for both evm and native states

2 participants