Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Hotfix/v0.1.3#2173

Merged
ToniRamirezM merged 26 commits intomainfrom
hotfix/v0.1.X
Jun 26, 2023
Merged

Hotfix/v0.1.3#2173
ToniRamirezM merged 26 commits intomainfrom
hotfix/v0.1.X

Conversation

@tclemos
Copy link
Contributor

@tclemos tclemos commented Jun 8, 2023

Closes #2124
Closes #2172
Closes #2168
Closes #2160
Closes #2212

What does this PR do?

  • Fix web sockets concurrency writes error
  • Fix eth_syncing to return false when node is synchronized
  • Fix custom tracer to handle internal tx errors when a context is not created.
  • Makes max grpc message size configurable.

New Config Parameter:

[Executor]
MaxGRPCMessageSize = 100000000

Reviewers

Main reviewers:

@ToniRamirezM
@agnusmor

@tclemos tclemos requested review from ToniRamirezM and agnusmor June 8, 2023 15:43
@cla-bot cla-bot bot added the cla-signed label Jun 8, 2023
ToniRamirezM
ToniRamirezM previously approved these changes Jun 8, 2023
@tclemos tclemos changed the title Hotfix/v0.1.x Hotfix/v0.1.3 Jun 8, 2023
Comment on lines +26 to +59
// function opDelegateCallSelfBalance(
// address addrCall
// ) external payable returns (uint256) {
// addrCall.call{value: msg.value}(
// abi.encodeWithSignature("opDelegateCallSelfBalance()")
// );
// assembly {
// let val := address()
// sstore(0x3, val)
// let val2 := codesize()
// sstore(0x4, val2)
// let val3 := msize()
// codecopy(val3, 0x0, val2)
// let val4 := mload(val3)
// sstore(0x5, val3)
// }
// }

// function opDelegateDelegateSelfBalance(
// address addrCall
// ) external payable returns (uint256) {
// addrCall.delegatecall(
// abi.encodeWithSignature("opDelegateCallSelfBalance()")
// );
// assembly {
// let val := address()
// sstore(0x3, val)
// let val2 := codesize()
// sstore(0x4, val2)
// let val3 := msize()
// codecopy(val3, 0x0, val2)
// let val4 := mload(val3)
// sstore(0x5, val3)
// }
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need to keep this commented code?

ToniRamirezM
ToniRamirezM previously approved these changes Jun 9, 2023
* make max grpc message size configurable

* fix state tests

* fix tests

* fix tests
@ToniRamirezM ToniRamirezM added this to the v0.1.3 milestone Jun 9, 2023
ToniRamirezM and others added 2 commits June 13, 2023 20:28
* optimize trace

* fix memory reading

* update docker image

* update prover image

* fix converter

* fix memory

* fix step memory

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* update prover image

* fix struclogs

* fix memory size

* fix memory size

* fix memory size

* refactor memory resize

* refactor memory resize
@ToniRamirezM ToniRamirezM merged commit c7aabd4 into main Jun 26, 2023
ToniRamirezM added a commit that referenced this pull request Jun 26, 2023
* fix concurrent web socket writes

* fix eth_syncing

* fix custom trace internal tx call error handling and update prover

* add test to custom tracer depth issue; fix internal call error and gas used

* fix custom tracer for internal tx with error and no more steps after it

* remove debug code

* Make max grpc message size configurable  (#2179)

* make max grpc message size configurable

* fix state tests

* fix tests

* fix tests

* get SequencerNodeURI from SC if empty and not IsTrustedSequencer

* Optimize trace (#2183)

* optimize trace

* fix memory reading

* update docker image

* update prover image

* fix converter

* fix memory

* fix step memory

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* update prover image

* fix struclogs

* fix memory size

* fix memory size

* fix memory size

* refactor memory resize

* refactor memory resize

* move log for the best fitting tx (#2192)

* fix load zkCounters from pool

* remove unnecessary log.info

* add custom tracer support to CREATES opcode without depth increase (#2213)

* logs

* fix getting stateroot from previous batch (GetWIPBatch)

* logs

* Fix GetWipBatch when previous last batch is a forced batch

* fix forcedBatch trusted state

* Revert "fix getting stateroot from previous batch (GetWIPBatch)"

This reverts commit 860f0e7.

* force GHA

* add pool limits (#2189)

* Hotfix/batch l2 data (#2223)

* Fix BatchL2Data

* Force GHA

---------

Co-authored-by: Toni Ramírez <58293609+ToniRamirezM@users.noreply.github.com>
Co-authored-by: agnusmor <agnusmor@gmail.com>
Co-authored-by: agnusmor <100322135+agnusmor@users.noreply.github.com>
Co-authored-by: Alonso <ARR551@protonmail.com>
Co-authored-by: Alonso Rodriguez <ARR552@users.noreply.github.com>
ToniRamirezM added a commit that referenced this pull request Jun 26, 2023
* Hotfix/v0.1.3 (#2173)

* fix concurrent web socket writes

* fix eth_syncing

* fix custom trace internal tx call error handling and update prover

* add test to custom tracer depth issue; fix internal call error and gas used

* fix custom tracer for internal tx with error and no more steps after it

* remove debug code

* Make max grpc message size configurable  (#2179)

* make max grpc message size configurable

* fix state tests

* fix tests

* fix tests

* get SequencerNodeURI from SC if empty and not IsTrustedSequencer

* Optimize trace (#2183)

* optimize trace

* fix memory reading

* update docker image

* update prover image

* fix converter

* fix memory

* fix step memory

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* update prover image

* fix struclogs

* fix memory size

* fix memory size

* fix memory size

* refactor memory resize

* refactor memory resize

* move log for the best fitting tx (#2192)

* fix load zkCounters from pool

* remove unnecessary log.info

* add custom tracer support to CREATES opcode without depth increase (#2213)

* logs

* fix getting stateroot from previous batch (GetWIPBatch)

* logs

* Fix GetWipBatch when previous last batch is a forced batch

* fix forcedBatch trusted state

* Revert "fix getting stateroot from previous batch (GetWIPBatch)"

This reverts commit 860f0e7.

* force GHA

* add pool limits (#2189)

* Hotfix/batch l2 data (#2223)

* Fix BatchL2Data

* Force GHA

---------

Co-authored-by: Toni Ramírez <58293609+ToniRamirezM@users.noreply.github.com>
Co-authored-by: agnusmor <agnusmor@gmail.com>
Co-authored-by: agnusmor <100322135+agnusmor@users.noreply.github.com>
Co-authored-by: Alonso <ARR551@protonmail.com>
Co-authored-by: Alonso Rodriguez <ARR552@users.noreply.github.com>

* fix test

---------

Co-authored-by: Thiago Coimbra Lemos <tclemos@users.noreply.github.com>
Co-authored-by: agnusmor <agnusmor@gmail.com>
Co-authored-by: agnusmor <100322135+agnusmor@users.noreply.github.com>
Co-authored-by: Alonso <ARR551@protonmail.com>
Co-authored-by: Alonso Rodriguez <ARR552@users.noreply.github.com>
joanestebanr pushed a commit that referenced this pull request Jun 28, 2023
* Hotfix/v0.1.3 (#2173)

* fix concurrent web socket writes

* fix eth_syncing

* fix custom trace internal tx call error handling and update prover

* add test to custom tracer depth issue; fix internal call error and gas used

* fix custom tracer for internal tx with error and no more steps after it

* remove debug code

* Make max grpc message size configurable  (#2179)

* make max grpc message size configurable

* fix state tests

* fix tests

* fix tests

* get SequencerNodeURI from SC if empty and not IsTrustedSequencer

* Optimize trace (#2183)

* optimize trace

* fix memory reading

* update docker image

* update prover image

* fix converter

* fix memory

* fix step memory

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* fix structlogs

* update prover image

* fix struclogs

* fix memory size

* fix memory size

* fix memory size

* refactor memory resize

* refactor memory resize

* move log for the best fitting tx (#2192)

* fix load zkCounters from pool

* remove unnecessary log.info

* add custom tracer support to CREATES opcode without depth increase (#2213)

* logs

* fix getting stateroot from previous batch (GetWIPBatch)

* logs

* Fix GetWipBatch when previous last batch is a forced batch

* fix forcedBatch trusted state

* Revert "fix getting stateroot from previous batch (GetWIPBatch)"

This reverts commit 860f0e7.

* force GHA

* add pool limits (#2189)

* Hotfix/batch l2 data (#2223)

* Fix BatchL2Data

* Force GHA

---------

Co-authored-by: Toni Ramírez <58293609+ToniRamirezM@users.noreply.github.com>
Co-authored-by: agnusmor <agnusmor@gmail.com>
Co-authored-by: agnusmor <100322135+agnusmor@users.noreply.github.com>
Co-authored-by: Alonso <ARR551@protonmail.com>
Co-authored-by: Alonso Rodriguez <ARR552@users.noreply.github.com>

* fix test

---------

Co-authored-by: Thiago Coimbra Lemos <tclemos@users.noreply.github.com>
Co-authored-by: agnusmor <agnusmor@gmail.com>
Co-authored-by: agnusmor <100322135+agnusmor@users.noreply.github.com>
Co-authored-by: Alonso <ARR551@protonmail.com>
Co-authored-by: Alonso Rodriguez <ARR552@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants