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

Replace SCALE with borsh entirely #573

Open
kayabaNerve opened this issue Jun 22, 2024 · 1 comment
Open

Replace SCALE with borsh entirely #573

kayabaNerve opened this issue Jun 22, 2024 · 1 comment
Labels
discussion This requires discussion improvement This could be better

Comments

@kayabaNerve
Copy link
Member

I'm unsure this is feasible technically/feasible within our timeline.

It'd simplify the protocol though.

@kayabaNerve kayabaNerve added feature New feature or request discussion This requires discussion improvement This could be better and removed feature New feature or request labels Jun 22, 2024
@kayabaNerve
Copy link
Member Author

This is completely infeasible.

If #647 occurs, we can define our own merklization scheme for events, and manually implement Encode/Decode on Event, Transaction, Block s.t. borsh is used internally. This should completely remove scale from the blockchain itself. Caveats apply as the RPC would be scale (#625 relevant) and consensus commits would presumably be. I honestly care less about consensus as we'll ideally replace it eventually, and at that point, we can checkpoint the last block produced under the old consensus after the transition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion This requires discussion improvement This could be better
Projects
None yet
Development

No branches or pull requests

1 participant