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

feat: enable unsigned transactions in tracing #41

Merged
merged 5 commits into from
May 31, 2024
Merged

feat: enable unsigned transactions in tracing #41

merged 5 commits into from
May 31, 2024

Conversation

skosito
Copy link
Contributor

@skosito skosito commented May 23, 2024

Some of transactions are applied directly (fungible module). They don't have a signature, and tracing those txs fails with signature error. This fix is checking for unsigned txs and is not using it to parse from field.

x/evm/keeper/state_transition.go Outdated Show resolved Hide resolved
x/evm/keeper/grpc_query.go Outdated Show resolved Hide resolved
x/evm/keeper/grpc_query.go Outdated Show resolved Hide resolved
x/evm/keeper/grpc_query.go Outdated Show resolved Hide resolved
x/evm/keeper/grpc_query.go Show resolved Hide resolved
x/evm/keeper/grpc_query.go Outdated Show resolved Hide resolved
@skosito skosito requested a review from lumtis May 29, 2024 19:52
Comment on lines +33 to +34
AttributeKeyTxNonce = "txNonce"
AttributeKeyTxData = "txData"

Choose a reason for hiding this comment

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

Where is this used ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

these are new attributes for events for synthetic txs emitted in node code and parsed in rpc methods

Copy link

@kingpinXD kingpinXD left a comment

Choose a reason for hiding this comment

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

lgtm , minor comment for my understanding

Copy link
Member

@lumtis lumtis left a comment

Choose a reason for hiding this comment

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

LGTM, if we can use semantic PR for the title it would be great

@skosito skosito merged commit 61d0400 into main May 31, 2024
24 of 25 checks passed
@skosito skosito deleted the debug-fixes branch May 31, 2024 17:27
@skosito skosito changed the title Enable unsigned transactions in tracing feat: enable unsigned transactions in tracing May 31, 2024
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