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

we were printing tx hash of half-built transactions, which was pointless #114

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

samlaf
Copy link
Collaborator

@samlaf samlaf commented Feb 13, 2024

Here's an example output from running avs-sync
image
Funnily enough, neither of the two txHash printed is the correct one, which was extremely confusing haha.

Changed it so that everywhere we only print txHash of txs that are successfully included in the chain.

shrimalmadhur
shrimalmadhur previously approved these changes Feb 13, 2024
chainio/clients/avsregistry/writer.go Outdated Show resolved Hide resolved
chainio/txmgr/txmgr.go Show resolved Hide resolved
shrimalmadhur
shrimalmadhur previously approved these changes Feb 14, 2024
better tx hash log msg

removed double logging

remove main.go that was committed by mistake

made WrapError public so we can reuse it in the codebase

print txhash of failed txs for easier debugging

removed redundant if statement
@samlaf samlaf merged commit e6e6a81 into master Feb 14, 2024
3 checks passed
@samlaf samlaf deleted the fix-update-stakes-txhash-log-bug branch February 14, 2024 20:13
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