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

[BUG] the split method in id is abcdef #46

Open
charlie-bit opened this issue May 27, 2024 · 1 comment
Open

[BUG] the split method in id is abcdef #46

charlie-bit opened this issue May 27, 2024 · 1 comment

Comments

@charlie-bit
Copy link

I found the split method in id is abcdef when call delegatorStakes query. but the subgraph in arb one network is spilt by -. please help unify it.

@juanmardefago
Copy link
Collaborator

Yes, that's part of the changes we made to move from String IDs to Bytes IDs, in order to improve performance and help it get it unstuck.

Unfortunately we can't use - and had to figure out a pretty obvious separator to keep things consistent.

Ideally we should move the network subgraph to also use Bytes, and thus also use the abcdef separator, but big schema changes to the Core Network subgraph aren't something we should do lightly.

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

No branches or pull requests

2 participants