-
Notifications
You must be signed in to change notification settings - Fork 110
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
Redefine Address as U128
+ Identity
and Hash as U256
#1616
Conversation
98942b8
to
2a9ae03
Compare
6c4370c
to
89bfb29
Compare
678a32c
to
a3a9cac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C# LGTM modulo one final nit. Haven't looked at Rust much.
3057fa9
to
fd209d1
Compare
d4b3c57
to
5a73630
Compare
I think in the face of Tyler's proposal that changes identity/address representation altogether, this PR might become obsolete. |
a6c144f
to
035bfd6
Compare
@RReverser My understanding is that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLI changes LGTM
2836aec
to
d531aae
Compare
This is now fully ready for merge together with https://github.com/clockworklabs/SpacetimeDBPrivate/pull/1060 @Centril |
PR looks good, but did you give any thought to the formatting changes of identity? I personally think they are an improvement, but ymmv. |
Ah, see Ingvar's comment above.
This is a breaking change anyway but it's a wipe-the-database breaking change rather than a rewrite-your-configs breaking change at the moment. |
In that case, I think this is good to merge, but I cannot approve my own PR... :) |
Co-authored-by: James Gilles <[email protected]> Fix C#? Fix codegen tests Wipe old bench data before running bench tests Fix csharp? Revert U128/U256 formatting changes, they were printing numbers backwards Fix failing test Fix some passing tests, add a failing test Bump serde_json version and add arbitrary_precision feature. This allows passing u128 through serde_json::Value, which is done in the CLI crate.
f8a3ad4
to
a1c0d94
Compare
Looks like this was marked as resolved in review on #1616 by mistake. #1616 (comment) Signed-off-by: Ingvar Stepanyan <[email protected]>
Co-authored-by: James Gilles <[email protected]>
Description of Changes
Redefines
Address
asu128
.API and ABI breaking changes
Breaks the stored type of
Address
in system tables and in user tables.