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

L1sload #748

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

L1sload #748

wants to merge 9 commits into from

Conversation

HAOYUatHZ
Copy link
Member

1. Purpose or design rationale of this PR

...

2. PR title

Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

  • build: Changes that affect the build system or external dependencies (example scopes: yarn, eslint, typescript)
  • ci: Changes to our CI configuration files and scripts (example scopes: vercel, github, cypress)
  • docs: Documentation-only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that doesn't fix a bug, or add a feature, or improves performance
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test: Adding missing tests or correcting existing tests

3. Deployment tag versioning

Has the version in params/version.go been updated?

  • This PR doesn't involve a new deployment, git tag, docker image tag, and it doesn't affect traces
  • Yes

4. Breaking change label

Does this PR have the breaking-change label?

  • This PR is not a breaking change
  • Yes

vyzo and others added 3 commits May 2, 2024 10:58
* add system tx

* some more scaffolding for system tx

* add validation for system txs

* system txs are never underpriced

* Add SystemTx check for L1 data fee

* formatting

* add Gas to SystemTx's

* fix test

* update for internal production of SystemTxs

* fix nil pointer dereference

* avoid potential nil pointer dereference

* fix nil pointer dereference

* fix l1 validation, enforce system txs as prefix contiguous section

* future proof OrderedSystemTxs.Pop

* fix Sender for system txs

* more handling of system txs

* some more system tx checks

* merge ifs

* refactor system tx

- no gas
- no nonce
- no sorting for ordered set

* no gas accounting for system txs
* init

* add l1 blocks worker to generate system tx

* finish the impl

* move the L1Blocks building to sync service

* lint

---------

Co-authored-by: Péter Garamvölgyi <[email protected]>
* crypto/kz4844: pass blobs by ref (ethereum#29050)

This change makes use of the following underlying changes to the kzg-libraries in order to avoid passing large things on the stack:

- c-kzg: ethereum/c-kzg-4844#393 and
- go-kzg: https://github.com/crate-crypto/go-kzg-4844/pull/63

* update version patch

* run go mod tidy

* use blob reference

---------

Co-authored-by: Martin HS <[email protected]>
Co-authored-by: Mason Liang <[email protected]>
@HAOYUatHZ HAOYUatHZ marked this pull request as ready for review May 13, 2024 08:55
sbaizet-ledger and others added 6 commits May 13, 2024 19:06
remove arm64 from supported platform
* L1Sload preliminaries

* flesh out implementation

* fix CI

* add TODO

* add distinguished L1 RPC error

* update the l1sload address and init the vm config with l1client

* fix the test and tweak the l1sload

* goimports lint

* update CI

* simplify

* lint

---------

Co-authored-by: Haichen Shen <[email protected]>
Co-authored-by: HAOYUatHZ <[email protected]>
* Fix l1sload precompile

* lint

* fix
* change to new design, make batch RPC request

* add test for storagesat

* fix lint

* Update core/vm/contracts.go

Co-authored-by: Péter Garamvölgyi <[email protected]>

* fix lint

* address comments

---------

Co-authored-by: Péter Garamvölgyi <[email protected]>
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.

6 participants