-
Notifications
You must be signed in to change notification settings - Fork 138
Reverting some commits... #3157
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
Conversation
|
When running Gonna leave it on hold, for now. |
…cated methods""" This reverts commit 4ed6523.
|
I confirm that the changes causing the unreachable statement has been extracted here
|
| pub fn caml_pasta_fp_plonk_index_serialize(index: &WasmPastaFpPlonkIndex) -> String { | ||
| let serialized = rmp_serde::to_vec(&index.0).unwrap(); | ||
| general_purpose::STANDARD.encode(serialized) | ||
| base64::encode(serialized) |
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.
Nit: it would be better to rebase the branch and remove this "revert revert revert" change together with "revert revert" change earlier in the same PR to avoid confusion...
this looks quite innocent to me btw but we can keep it in the old base64 way for now for clarity.
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.
this looks quite innocent to me btw but we can keep it in the old base64 way for now for clarity
Spoiler: it is not innocent.
Counterpart in Mina: MinaProtocol/mina#16887
Counterpart in o1js: o1-labs/o1js#2128
Reverting some commits introduced in #3149. The PR!3149 seems to contain gentle changes, as it is mostly to appease Clippy.
However, if someone tries to run o1js on top of 3f63052, different errors will happen.
One is described in this comment, which seems to be related to 0154940.
This PR reverts this commit, after that revert the revert (confirming that there is an actual issue with the change), and again revert the set. I'm keeping this in the history in case we want to debug later.
Another one is having tests hanging indefinitely, without logs.
I initially reverted (a bit arbitraly, but still on the idea that the code semantics might be changed by wasm-bindgen) the following commits:
In addition to that 1c8e9b6, see 78c75a8 is reverted as it impacts this CI.
I ended up re-introducing 00ab947, see 98e9d70 as it really looks inoffensive to me.
I would prefer to start from this set of reverts, and step by step reintroducing them.
Follow-up PR will come.
The reviewer is encouraged to monitor the state of the CI of o1js here, and review the Mina + proof-systems commit used, to convince them that this gives back a clean master branch we can start to build on top of again.
The reviewer can convince themselves there are some issues by looking at logs of the CI of this o1js commit for instance. The four commits on top of it are after these changes.