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

Assertion fails in TestStateRPCAPI while using westend-dev #3029

Closed
EclesioMeloJunior opened this issue Jan 9, 2023 · 1 comment · Fixed by #3049
Closed

Assertion fails in TestStateRPCAPI while using westend-dev #3029

EclesioMeloJunior opened this issue Jan 9, 2023 · 1 comment · Fixed by #3049
Assignees

Comments

@EclesioMeloJunior
Copy link
Member

EclesioMeloJunior commented Jan 9, 2023

While using westend-dev spec file to run the test TestStateRPCAPI we got the following assertion problems:

=== RUN   TestStateRPCAPI/Test_valid_block_hash_state_getStorage
    rpc_05-state_test.go:362: 
        	Error Trace:	/go/src/github.com/ChainSafe/gossamer/tests/rpc/rpc_05-state_test.go:362
        	Error:      	"{\"jsonrpc\":\"2.0\",\"result\":\"0x010488dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee0100000000000000\",\"id\":1}\n" 
does not contain 
"0x012488dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee0100000000000000d17c2d7823ebf260fd138f2d7e27d114c0145d968b5ff5006125f2414fadae690100000000000000439660b36c6c03afafca027b910b4fecf99801834c62a5e6006f27d978de234f01000000000000005e639b43e0052c47447dac87d6fd2b6ec50bdd4d0f614e4299c665249bbd09d901000000000000001dfe3e22cc0d45c70779c1095f7489a8ef3cf52d62fbd8c2fa38c9f1723502b50100000000000000568cb4a574c6d178feb39c27dfc8b3f789e5f5423e19c71633c748b9acf086b5010000000000000008ee9f4a5246647ebb938ece750d3d3be5e5f31978460258a1ab850c5d2b698201000000000000005c2c289b817ff4f843447a3346c0f63876acca1b0b93ff65736b4d4f26b8323101000000000000001da77f955bcd0745d2bc7a7e6544a661f4536deabf57fe79737b3e9157e39e420100000000000000"
        	Test:       	TestStateRPCAPI/Test_valid_block_hash_state_getStorage
=== RUN   TestStateRPCAPI/Test_valid_block_hash_state_getStorageHash
    rpc_05-state_test.go:362: 
        	Error Trace:	/go/src/github.com/ChainSafe/gossamer/tests/rpc/rpc_05-state_test.go:362
        	Error:      	"{\"jsonrpc\":\"2.0\",\"result\":\"0x843b7ecea812103a0df44a97b76f4ac997064ec061186b6b02ad1387fcfad07d\",\"id\":1}\n" 
does not contain
"0x778cec1a760be272c3ba7ebf89dafd6e03fc14ddfaf843e2ff9d48ecac66c549"
=== RUN   TestStateRPCAPI/Test_valid_block_hash_state_getStorageSize
    rpc_05-state_test.go:362: 
        	Error Trace:	/go/src/github.com/ChainSafe/gossamer/tests/rpc/rpc_05-state_test.go:362
        	Error:      	"{\"jsonrpc\":\"2.0\",\"result\":42,\"id\":1}\n" does not contain "362"
        	Test:       	TestStateRPCAPI/Test_valid_block_hash_state_getStorageSize
Copy link

🎉 This issue has been resolved in version 0.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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 a pull request may close this issue.

1 participant