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

chore: rpc server cleanup & misc fixes #11145

Merged
merged 7 commits into from
Jan 11, 2025
Merged

chore: rpc server cleanup & misc fixes #11145

merged 7 commits into from
Jan 11, 2025

Conversation

Thunkar
Copy link
Contributor

@Thunkar Thunkar commented Jan 10, 2025

Context: #11083 (review)

@Thunkar Thunkar requested a review from spalladino January 10, 2025 09:35
@Thunkar Thunkar self-assigned this Jan 10, 2025
@Thunkar Thunkar changed the title chore: rpc server cleanup chore: rpc server cleanup & misc fixes Jan 10, 2025
@AztecBot
Copy link
Collaborator

AztecBot commented Jan 10, 2025

Docs Preview

Hey there! 👋 You can check your preview at https://678230785534e738e5bab775--aztec-docs-dev.netlify.app

Copy link
Collaborator

@spalladino spalladino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, but the placement of the http200OnError after the ZodError check means that validation errors will always be returned as 400s, even if http200OnError is set. Are we ok with that? If so, let's merge.

@Thunkar
Copy link
Contributor Author

Thunkar commented Jan 10, 2025

@spalladino I kept it that way because of this https://www.jsonrpc.org/historical/json-rpc-over-http.html#errors It's old though, so open to suggestions!

@spalladino
Copy link
Collaborator

I kept it that way because of this https://www.jsonrpc.org/historical/json-rpc-over-http.html#errors It's old though, so open to suggestions!

But according to that we should never return 200 on error...? Anyway, it's fine, let's move ahead!

@Thunkar Thunkar enabled auto-merge (squash) January 10, 2025 17:44
@Thunkar Thunkar merged commit 8a927eb into master Jan 11, 2025
48 checks passed
@Thunkar Thunkar deleted the gj/rpc_server_cleanup branch January 11, 2025 09:39
TomAFrench added a commit that referenced this pull request Jan 13, 2025
* master: (329 commits)
  fix(avm): mac build (#11195)
  fix: docs rebuild patterns (#11191)
  chore: refactor Solidity Transcript and improve error handling in  sol_honk flow (#11158)
  chore: move witness computation into class plus some other cleanup (#11140)
  fix: get_next_power_exponent off by 1 (#11169)
  chore(avm): vm2 followup cleanup (#11186)
  fix: underconstrained bug (#11174)
  refactor: VariableMerkleTree readability improvements (#11165)
  chore: removing noir bug workaround (#10535)
  chore(docs): Remove node pages  (#11161)
  git subrepo push --branch=master noir-projects/aztec-nr
  git_subrepo.sh: Fix parent in .gitrepo file. [skip ci]
  chore: replace relative paths to noir-protocol-circuits
  git subrepo push --branch=master barretenberg
  feat(avm2): avm redesign init (#10906)
  feat: Sync from noir (#11138)
  feat: simulator split (#11144)
  chore: rpc server cleanup & misc fixes (#11145)
  git subrepo push --branch=master noir-projects/aztec-nr
  git_subrepo.sh: Fix parent in .gitrepo file. [skip ci]
  ...
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

Successfully merging this pull request may close these issues.

3 participants