Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: block overrides is not supported in debug_traceCall #392

Merged
merged 21 commits into from
Jan 12, 2024

Conversation

mmsqe
Copy link
Collaborator

@mmsqe mmsqe commented Jan 9, 2024

Closes: #XXX

Description


For contributor use:

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

For admin use:

  • Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
  • Reviewers assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

Coinbase: cfg.CoinBase,
GasLimit: ethermint.BlockGasLimit(ctx),
BlockNumber: big.NewInt(ctx.BlockHeight()),
Time: uint64(ctx.BlockHeader().Time.Unix()),

Check failure

Code scanning / gosec

Potential integer overflow by integer type conversion Error

Potential integer overflow by integer type conversion
@mmsqe mmsqe marked this pull request as ready for review January 10, 2024 01:44
x/evm/keeper/grpc_query.go Fixed Show fixed Hide fixed
x/evm/keeper/grpc_query.go Fixed Show fixed Hide fixed
Copy link

@XinyuCRO XinyuCRO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

rpc/backend/tracing.go Outdated Show resolved Hide resolved
Co-authored-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
Signed-off-by: mmsqe <mavis@crypto.com>
Copy link
Collaborator

@yihuang yihuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#393
let's cleanup ApplyMessageWithConfig api first

continue
}
cfg.TxConfig.TxHash = ethTx.Hash()
cfg.TxConfig.TxIndex = uint(i)

Check failure

Code scanning / gosec

Potential integer overflow by integer type conversion Error

Potential integer overflow by integer type conversion
mmsqe and others added 3 commits January 12, 2024 09:17
Co-authored-by: yihuang <huang@crypto.com>
Signed-off-by: mmsqe <mavis@crypto.com>
this bug was introduced in evmos@d4621f3
@mmsqe mmsqe merged commit fd9a87e into crypto-org-chain:develop Jan 12, 2024
26 of 31 checks passed
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.

3 participants