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

Compatibility with Oasis Core 21.2 #211

Closed
lougon opened this issue Jun 8, 2021 · 8 comments
Closed

Compatibility with Oasis Core 21.2 #211

lougon opened this issue Jun 8, 2021 · 8 comments
Labels
c:deps Category: dependencies

Comments

@lougon
Copy link

lougon commented Jun 8, 2021

use oasis_core 21.2 version
oasis-core-rosetta-gateway 1.1.1
rpc:block
block:3610570

post body
{
"network_identifier": {
"blockchain": "Oasis",
"network": "53852332637bacb61b91b6411ab4095168ba02a50be4c3f82448438826f23898"
},
"block_identifier": {
"index": 3610570
}
}

Returned result
{
"code": 14,
"message": "unable to get transactions",
"retriable": true
}

@kostko
Copy link
Member

kostko commented Jun 8, 2021

The current version of the Rosetta gateway (v1.1.1) has only been tested with Oasis Core 21.1.x. Can you reproduce the issue with that version?

@lougon
Copy link
Author

lougon commented Jun 9, 2021

There is no problem with oasis core 21.1. X
oasis core 21.2 version have problems
You try block:3610570

@lougon
Copy link
Author

lougon commented Jun 9, 2021

There are also many block problems, 3610570 is just one of them

@kostko kostko changed the title unable to get transactions Compatibility with Oasis Core 21.2 Jun 9, 2021
@kostko kostko added the c:deps Category: dependencies label Jun 9, 2021
@kostko
Copy link
Member

kostko commented Jun 9, 2021

This is expected due to some breaking event changes in Oasis Core 21.2. As mentioned, Rosetta gateway v1.1.1 targets Oasis Core 21.1 and if you need to use Rosetta, you should currently use Oasis Core 21.1 until a new version of the Rosetta gateway is released. We'll use this issue to track the necessary changes.

@kostko
Copy link
Member

kostko commented Jun 16, 2021

Actually what you describe may be caused by the issue fixed in oasisprotocol/oasis-core#4033. The fix is planned to be released as part of Oasis Core 21.2.2, but will require a node re-sync from scratch since the problematic events have been incorrectly stored.

@lougon
Copy link
Author

lougon commented Jul 16, 2021

I used oasis core 21.2.7 and resynchronized the nodes

But there will be problems.

Can I only use 21.1.X?

@tjanez
Copy link
Member

tjanez commented Aug 11, 2021

@lougon, the latest master of Rosetta Gateway should be compatible with Oasis Core 21.2.x and we'll release a new version of Rosetta Gateway (1.2.0) that will be compatible with it soon.

@tjanez
Copy link
Member

tjanez commented Aug 11, 2021

@lougon, the latest master of Rosetta Gateway should be compatible with Oasis Core 21.2.x and we'll release a new version of Rosetta Gateway (1.2.0) that will be compatible with it soon.

Oasis Core Rosetta Gateway 1.2.0 has been released.

@tjanez tjanez closed this as completed Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:deps Category: dependencies
Projects
None yet
Development

No branches or pull requests

3 participants