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

Fast-forward stable to v0.2.0-alpha (third attempt) #866

Merged
merged 170 commits into from
Sep 14, 2023

Conversation

neysofu
Copy link
Member

@neysofu neysofu commented Sep 14, 2023

Description

Third time is the charm. #864 had filippo/v0.2.0 as a source branch, which has dirty history. #865 had nightly as a source branch, which means it is now polluted with commits that are not part of the release.

bkolad and others added 30 commits July 17, 2023 12:42
* De-anonymizing blobtrait
* Consistency with import
…rs` (#517)

* Introduce `ModuleCallJsonSchema` trait

* Refactor `get_generics_type_param`

* Add `ModuleInfo` test

* Allow `#[derive(ModuleCallJsonSchema)]`

* Impl `ModuleCallJsonSchema` for `Bank`

* New crate `sov-module-schemas`

* `#![deny(missing_docs)]` for `sov_modules_macros`

* Improve macro hygiene

* Clearer docs on module type generics

* ci: run coverage on bigger machine
* Update to risc0 v0.16

* Fix clippy warning

* Remove unneeded phantom reference
* Update base64 requirement from 0.13.1 to 0.21.2

Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64) to permit the latest version.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](marshallpierce/rust-base64@v0.13.1...v0.21.2)

---
updated-dependencies:
- dependency-name: base64
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix base64 upgrade and remove unsafe

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolai Golub <nikolai@sovlabs.io>
* JSON Schema for `sov-accounts`

* JSON Schema for `sov-evm`

* JSON Schema for `sov-prover-incentives`

* JSON Schema for `sov-prover-registry`

* JSON Schema for `sov-election`

* JSON Schema for `sov-value-setter`

* Add all built-in modules to `module-schemas`

* Write newlines at the end of JSON Schemas

* Update the module template with JSON Schema instructions

* Fix bad `schemars` attributes in `sov-accounts`

* CI: larger runner for `test`

* CI: increase timeout for cargo-doc-artifact

* Fix missing schemars dependency

* Fix missing serde_json dependency

* Remove unneeded dep to `sov-modules-api`
…dules-api` (#542)

* Re-export macros for `sov-modules-api`

* Remove direct use of `sov-modules-macros`

* Update all docs

* Fix intradoc links

* Fix macros module doc comment & import

* Fix all tests

* Fix default features

* Fix README code example
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.52 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](sfackler/rust-openssl@openssl-v0.10.52...openssl-v0.10.55)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add missing license fields to Cargo manifests

* Test with --experimental on CI

* Run dependabot weekly

* Use cargo-deny for license checking

* Cancel job when new commits are pushed

* Fix rust.yml

* Fix rust.yml

* Only build GH pages on nightly/stable
…423)

* module clap cli draft pr

* temp commit working state

* add impls for other fields of Runtime

* working code

* fix broken test

* fix cargo hack

* missing file

* fix linting

* lint fix

* WIP: continue cleanup

* Use anyhow::Error as FromStr error

* Rustc panics here

* Fix bug in cli_parser bounds extraction

* It works

* Fix warnings/lints

* Defer serde bounds enforcement

* Remove even more deserialize bounds

* Update CLI with inline tx generation

* Fix doc test; improve hygiene

* cleanup; make hex optional

* remove duplicate Signature defn

* Fix unused import

* remove evm cli for now

* fix warnings without default features

* Fix unused import

* Fix evm skipping

* Fix formatting

* Fix bug in cli make batch

* Get cli_skip working

* Convert to derive macro

* derive CliWalletArg for structs

* Fix doc tests

* test cli_wallet_arg derive

* revert lockfile

* Remove lockfile from git

* lint

* Add missing cfg_attr

* Remove commented code

* fix doc test

* Address code review feedback

---------

Co-authored-by: dubbelosix <dub@006.com>
Co-authored-by: Preston Evans <preston.b.evans@gmail.com>
* Add missing docs

* Fix formatting
bkolad and others added 25 commits September 7, 2023 13:41
* Add da flag to demo-rollup

* add rollup_config_pat arg
* Add public function for fetching token names

* Add test coverage

* lint
* fix keypair/private_key discrepancy

* formatting

* changes to use consistent format

* README changes

* linting fixes

* remove checked in rollup_config.toml

* fix token address in git workflow

---------

Co-authored-by: dubbelosix <dub@006.com>
* Initialize pending_block in begin_slot_hook properly

* add timestamp handling

* simplify unwrap

* simplify basefee calculation, genesis block will be handled in genesis

* Initialize genesis block

* improvements

* fix tests

* add tests

* fix test

* Add expect

* Move to lazy_static global test_config

* simplify

* fix

* one more fix
* Bug fix: Introduce EncodeLike trait.

This PR removes our StateMap key encoding based on std::Hash, which was
not consistent across platforms. Instead, this PR introduces the
`EncodeLike<Ref, Target>` trait which marks that Ref can be encoded
like Target by the implementing codec.

This PR also removes the SingletonKey type, which required special
handling in codecs. Instead, of using this placeholder, this PR
implements auxiliary methods on the working set for dealing with
singletons

* Remove rollup config changes

* fix test: qualify conversion

* Add missing bounds for fuzzing

* fix docs

* clarify zsts in comment

* allow separate codecs for keys/values

* Split key and value codecs

* Fix fuzzing feature

* Introduce StateCodec trait to allow EncodeLike with SplitCodec

* add doc comments

* Fix fuzz and test targets

* Fix test

* fix docs
…de (#825)

* Refactoring to unify evm Address and U256 types, serializing with serde

* simplify

* remove TODO

* even less conversions

* few more

* fix for experimental dependency
* celestia -> sov-celestia-adapter in manifests & docs

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* celestia -> sov-celestia-adapter in *.rs

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* risc0-adapter -> sov-risc0-adapter

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* Fix Celestia rename

* Rename zk-cycle-utils/macros

* cargo fmt --all

---------

Signed-off-by: Filippo Costa <filippo@sovlabs.io>
…ated (#826)

Rename RawEvmTransaction to RlpEvmTransaction
* Add missing endpoints

* Add eth_accounts & eth_estimateGas

* eth_blockNumber not implemented
* fix benchmark genesis address to match block production address

* some formatting and cleanup

* cleanup the logic to exclude token creation txn

---------

Co-authored-by: dubbelosix <dub@006.com>
* Add signer

* Add signers in sov-ethereum

* Eth signers in the rollup

* read tx signers

* implement dev signer

* update bench

* make lint

* cleanup
…c`. Remove `SlotData` from STF API. (#838)

* Switch ordering of witness

* Feature gate native in stf runner

* WIP: Fix chain-state signature. Done except for borsh

* Fix all interfaces

* lint; clippy

* Move curr_hash to MockBlockHeader

* lint

* fix benches

* add missing borrow

* remove commented code

* fix feature gating. Fix demo-prover

* fmt demo prover

* lint
…low (#842)

* Switch ordering of witness

* Feature gate native in stf runner

* WIP: Fix chain-state signature. Done except for borsh

* Fix all interfaces

* lint; clippy

* Move curr_hash to MockBlockHeader

* lint

* fix benches

* add missing borrow

* remove commented code

* fix feature gating. Fix demo-prover

* fmt demo prover

* lint

* implement stv

* Got to a failing test

* Tests pass

* lint

* lint

* fix tests/features

* fix prover

* lint
* eth_accounts

* estimateGas
* Properly create receipts for successful transactions

* move to reth domain types for storage + add our packing types where feasible

* Added block building

* create receipts for failed transactions

* Add finalize_slot_hook

* separating state and storage better, fixes

* fix transaction mapping from hash to index

* fix

* fix

* improve tests

* test & fix state vector extensions

* fix test

* add failed transaction call test

---------

Co-authored-by: bkolad <blazejkolad@gmail.com>
* Properly create receipts for successful transactions

* move to reth domain types for storage + add our packing types where feasible

* Added block building

* create receipts for failed transactions

* Add finalize_slot_hook

* separating state and storage better, fixes

* fix transaction mapping from hash to index

* fix

* fix

* improve tests

* test & fix state vector extensions

* fix test

* Remove reth-rpc and primitive_types dependencies

* fix not-workspace dependencies

* post-merge fixes

* fix post-merge formatting

* enable "demo-stf/experimental" in "demo-rollup/experimental"

* revert default experimental

---------

Co-authored-by: bkolad <blazejkolad@gmail.com>
* Update getting started docs

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* Update release process docs

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* Update packages_to_publish.txt

* cargo set-version 0.2.0

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* Add missing dependency versions

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* Use released bcs as workspace dependency

* Fix accidental feature flag change

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* Add crate description to sov-sequencer

* Add crate description to sov-zk-cycle-utils

* Remove in workspace dev-dep versions from sov-modules-macros

* Remove in workspace dev-dep versions from sov-modules-api

* Remove in workspace dev-dep versions from sov-prover-incentives

* Add description to sov-chain-state

* Add description to risc0 adapter

---------

Signed-off-by: Filippo Costa <filippo@sovlabs.io>
Co-authored-by: Preston Evans <preston.b.evans@gmail.com>
@preston-evans98 preston-evans98 merged commit 4fd85bd into stable Sep 14, 2023
44 checks passed
@preston-evans98 preston-evans98 deleted the filippo/v0.2.0-nightly branch September 14, 2023 19:38
@preston-evans98 preston-evans98 temporarily deployed to github-pages September 14, 2023 21:50 — with GitHub Actions Inactive
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.