Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Fixing known events #480

Merged
merged 6 commits into from
Jul 16, 2020
Merged

Fixing known events #480

merged 6 commits into from
Jul 16, 2020

Conversation

mikiquantum
Copy link
Contributor

No description provided.

go.mod Outdated Show resolved Hide resolved
"github.com/centrifuge/go-substrate-rpc-client/types"
)

func TestChain_Events(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Convenient function to verify event definition + types against any running chain. I was able to verify all events in all blocks since genesis, after fixing some of the types in both GSRPC and this repo.
Turn out very handy function, but not sure if we can extract it to a different place. Will require some manual changes to point to the desired network and from/to desired blocks. Comments added within the code explains it.

@ansermino ansermino merged commit a92ea6f into ChainSafe:master Jul 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants