-
Notifications
You must be signed in to change notification settings - Fork 234
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
chore: Bytecode is buffer not string #5351
Closed
spalladino
wants to merge
1
commit into
palla/update-yp-function-broadcast
from
palla/bytecode-is-buffer
Closed
chore: Bytecode is buffer not string #5351
spalladino
wants to merge
1
commit into
palla/update-yp-function-broadcast
from
palla/bytecode-is-buffer
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @spalladino and the rest of your teammates on Graphite |
This was referenced Mar 20, 2024
spalladino
force-pushed
the
palla/update-yp-function-broadcast
branch
from
March 21, 2024 18:18
fcaac51
to
ceb8fbd
Compare
spalladino
force-pushed
the
palla/bytecode-is-buffer
branch
from
March 21, 2024 18:18
c091ab3
to
49f330f
Compare
spalladino
force-pushed
the
palla/update-yp-function-broadcast
branch
from
March 21, 2024 19:34
ceb8fbd
to
0bf1666
Compare
spalladino
force-pushed
the
palla/bytecode-is-buffer
branch
from
March 21, 2024 19:34
49f330f
to
256dae1
Compare
PhilWindle
approved these changes
Mar 22, 2024
spalladino
force-pushed
the
palla/update-yp-function-broadcast
branch
from
March 22, 2024 12:15
0bf1666
to
6ac9469
Compare
spalladino
force-pushed
the
palla/bytecode-is-buffer
branch
from
March 22, 2024 12:15
256dae1
to
48d9d55
Compare
PhilWindle
approved these changes
Mar 22, 2024
spalladino
force-pushed
the
palla/update-yp-function-broadcast
branch
from
March 22, 2024 12:59
6ac9469
to
3b98e59
Compare
spalladino
force-pushed
the
palla/bytecode-is-buffer
branch
from
March 22, 2024 12:59
48d9d55
to
d71f43a
Compare
spalladino
force-pushed
the
palla/update-yp-function-broadcast
branch
from
March 22, 2024 14:07
3b98e59
to
92e98de
Compare
spalladino
force-pushed
the
palla/bytecode-is-buffer
branch
from
March 22, 2024 14:07
d71f43a
to
c288502
Compare
spalladino
force-pushed
the
palla/update-yp-function-broadcast
branch
from
March 22, 2024 15:02
92e98de
to
8ff82fe
Compare
spalladino
force-pushed
the
palla/bytecode-is-buffer
branch
from
March 22, 2024 15:02
c288502
to
3a7caff
Compare
spalladino
force-pushed
the
palla/update-yp-function-broadcast
branch
from
March 22, 2024 15:40
8ff82fe
to
9c3e8fd
Compare
spalladino
force-pushed
the
palla/bytecode-is-buffer
branch
from
March 22, 2024 15:40
3a7caff
to
c5ad8d2
Compare
spalladino
force-pushed
the
palla/update-yp-function-broadcast
branch
from
March 22, 2024 16:59
9c3e8fd
to
7636803
Compare
spalladino
force-pushed
the
palla/bytecode-is-buffer
branch
from
March 22, 2024 16:59
c5ad8d2
to
214dea7
Compare
Closing in favor of merging everything in one go in #5353 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After deserialization, bytecode should be represented internally as a buffer, not as a b64 string. We actually had several bugs where we were deserializing bytecode as hex instead of b64, which just silently returns an empty buffer because javascript. This PR removes all conversions back and forth between buffer and b64, and just deserializes in the
loadContractArtifact
function that handles conversion of all noir artifacts.