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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
11c6eb3
Update CI for nightly branch & `foundry` (#496)
bkolad Jul 17, 2023
7f98e41
Update links for branch renaming (#495)
preston-evans98 Jul 17, 2023
70e563d
Make `DaService` async (#508)
bkolad Jul 17, 2023
c38d821
Bump rust-rocksdb to 0.21.0 (#499)
neysofu Jul 18, 2023
843c79d
De-anonymizing BlobTransactionTrait in STF (#500)
citizen-stig Jul 18, 2023
a649a21
CI set big runner for cargo hack (#518)
bkolad Jul 18, 2023
f64576c
make `DaService::get_extraction_proof` async (#511)
bkolad Jul 18, 2023
3b77d2c
EVM: `get_transaction_receipt & eth_call` endpoints implementation. …
bkolad Jul 19, 2023
ea54dbd
Add dependabot (#521)
bkolad Jul 19, 2023
bf3fb8c
New `ModuleCallJsonSchema` macro to generate JSON Schemas via `schema…
neysofu Jul 19, 2023
57bd214
Remove space from file name (#526)
bkolad Jul 19, 2023
ef12744
Remove unused dependecies (#523)
citizen-stig Jul 19, 2023
14b663f
Update to risc0 v0.16 (#520)
preston-evans98 Jul 19, 2023
fca041c
Update hex-literal requirement from 0.3.4 to 0.4.1 (#531)
dependabot[bot] Jul 19, 2023
d18081e
Update base64 requirement from 0.13.1 to 0.21.2 (#532)
dependabot[bot] Jul 20, 2023
39a617f
Bump timeout for doc job (#538)
citizen-stig Jul 20, 2023
b424a2b
JSON Schemas for all built-in modules (#525)
neysofu Jul 20, 2023
1ab2bc3
Add missing doc for the `sov-modules-stf-template` crate. (#540)
bkolad Jul 21, 2023
0902b95
sov-modules: Ensure that the internal structure of modules implementa…
bkolad Jul 24, 2023
f7164ee
Blob storage module (#510)
citizen-stig Jul 24, 2023
ea7cd9d
Preferred sequencer in registry (#535)
citizen-stig Jul 24, 2023
11cb807
Add missing docs in `son-accounts` (#545)
bkolad Jul 24, 2023
787c63c
Hide `sov-modules-macros` for all public APIs; re-export from `sov-mo…
neysofu Jul 24, 2023
563660a
Make test_non_existent_config not dependent on OS and language. (#554)
LukaszRozmej Jul 25, 2023
a922131
Add Cargo.lock to git (#556)
bkolad Jul 25, 2023
54d1119
Bump openssl from 0.10.52 to 0.10.55 (#557)
dependabot[bot] Jul 25, 2023
adeafc1
CI improvements: dependabot weekly, experimental testing, ... (#559)
neysofu Jul 25, 2023
fd58400
Remove hack for prev_block_hash in Celestia genesis (#553)
preston-evans98 Jul 25, 2023
824bfa6
add macros to generate clap commands and args for modules in runtime …
dubbelosix Jul 26, 2023
6e2f124
Add missing docs to sov-db (#568)
preston-evans98 Jul 26, 2023
0ef438a
EVM: Remove hardcoded private key form `Ethereum` RPC (#571)
bkolad Jul 27, 2023
d4b39e3
Allow all `Runtime` macros to handle multiple generics (#575)
preston-evans98 Jul 27, 2023
80b2518
Sorting modules by dependencies (#549)
LukaszRozmej Jul 27, 2023
681b7a5
EVM: remove `anvil-core` dependency and use types from `reth` instead…
bkolad Jul 28, 2023
3835042
Change query methods return type from `SomeType` to `RpcResult<SomeTy…
bkolad Jul 31, 2023
168a508
Improve generated cli help (#581)
preston-evans98 Jul 31, 2023
b9fdcc9
Add release checklist (#580)
preston-evans98 Jul 31, 2023
fcfc64a
CI cache improvements (#572)
neysofu Aug 1, 2023
609b479
Change STF interface to work on slot level (#560)
citizen-stig Aug 1, 2023
2903e0c
update jsonrpsee to v18.2 (#597)
bkolad Aug 1, 2023
9d7b3d2
Evaluate CI caching `save-if` conditions (#599)
neysofu Aug 1, 2023
baf2687
Switch away from setup-rust-toolchain@v1 (#604)
neysofu Aug 1, 2023
d4a39da
Remove `array_chunks` nightly feature, as it seems to be unused (#605)
citizen-stig Aug 1, 2023
ad0120e
Remove array_windows feature to be closer to stable rust (#606)
citizen-stig Aug 1, 2023
e0f3229
Remove `jmt::SimpleHasher` from rollup interface; Add PrivateKey trai…
preston-evans98 Aug 2, 2023
2a54f78
Feature gate `jsonrpsee` in `sov-modules-macros` (#613)
preston-evans98 Aug 3, 2023
0635008
Docs for the `value-setter` module (#610)
bkolad Aug 3, 2023
63ba774
StateTransitionRunner refactoring. (#614)
bkolad Aug 7, 2023
7349023
Create new `cli` library with a simplified interface (#623)
preston-evans98 Aug 8, 2023
f853874
Throw error if runtime has duplicate modules (#628)
preston-evans98 Aug 8, 2023
7d9a574
remove use AddressTrait from ModuleInfo macro (#636)
LukaszRozmej Aug 9, 2023
16ff1ef
EVM: Initialize CfgEnv before transaction execution (#627)
LukaszRozmej Aug 9, 2023
22c7d94
Missing docs for `demo-simple-stf` (#637)
bkolad Aug 9, 2023
f747637
Chain state module (#598)
theochap Aug 10, 2023
154cbbe
Refactoring buf reader (#593)
theochap Aug 10, 2023
4e5c2ff
Add missing docs for bank, prover-incentives, demo-rollup and const-r…
theochap Aug 10, 2023
0137568
EVM: Recovering transaction signer in the EVM module. (#639)
bkolad Aug 10, 2023
3cc6083
Refactor `CelestiaAddress` (#551)
citizen-stig Aug 11, 2023
264a284
Correct comparison for sender (#660)
citizen-stig Aug 14, 2023
f41765a
Remove `associated_type_defaults` making Sovereign SDK stable compati…
citizen-stig Aug 14, 2023
5b634a1
Based Sequencer with Soft Confirmations: deferring blob from executio…
citizen-stig Aug 14, 2023
99e234e
Allow custom (de)serialization logic for `#[state]` (#648)
neysofu Aug 15, 2023
fb8d836
Bump tokio from 1.29.1 to 1.31.0 (#659)
dependabot[bot] Aug 15, 2023
b4c54b1
Add Demo NFT module docs (#642)
citizen-stig Aug 15, 2023
c0ef212
Make Sequencer Outcome generic over address (#652)
citizen-stig Aug 15, 2023
1e43aca
Mock refactoring in `rollup-interface/src/state_machine/mocks` (#661)
bkolad Aug 16, 2023
6371c32
Add a benchmark/profiler to count cycles in demo-prover (#577)
dubbelosix Aug 16, 2023
aefb10f
Simplify generics in `AppTemplate`. (#662)
bkolad Aug 16, 2023
d4d64ad
Move module-template tests into dir (#665)
neysofu Aug 17, 2023
b63d1b0
Use DaService in `sov-ethereum`. (#668)
bkolad Aug 17, 2023
4bab2f5
Rename jupiter to celestia (#670)
bkolad Aug 17, 2023
185dc6a
Config preferred sequencer via bool (#672)
neysofu Aug 18, 2023
f0b49f4
`sov-sequencer-registry` module docs (#674)
neysofu Aug 18, 2023
6369c62
`RollupConfig` cleanup (#677)
bkolad Aug 18, 2023
cf06f2a
Typo in ledger_rpc.rs (#678)
LiveDuo Aug 18, 2023
a33f004
Rollup strcture in demo-rollup (#680)
bkolad Aug 18, 2023
fd2ff39
Optimistic (#650)
theochap Aug 18, 2023
708c17b
Celestia docker compose: several nodes (#682)
citizen-stig Aug 21, 2023
5d2b303
Bump parking_lot from 0.11.2 to 0.12.1 (#696)
dependabot[bot] Aug 21, 2023
491098d
Bump serde from 1.0.183 to 1.0.185 (#698)
dependabot[bot] Aug 21, 2023
0341781
Bump quote from 1.0.32 to 1.0.33 (#701)
dependabot[bot] Aug 21, 2023
13040ec
Bump tokio from 1.31.0 to 1.32.0 (#702)
dependabot[bot] Aug 21, 2023
0abc891
Run CI even for *.md changes (#704)
neysofu Aug 21, 2023
db368c4
Fix typos in documentation (#687)
omahs Aug 21, 2023
3fffcdd
Update README.md (#683)
cemozerr Aug 21, 2023
a050971
`PairOfCodecs` default (#703)
neysofu Aug 21, 2023
597f324
Make "native" feature non default (#664)
citizen-stig Aug 22, 2023
d00fb58
Functionality for submitting several blobs in single DA block (#690)
citizen-stig Aug 22, 2023
72d7f36
Refactor `sov-cli` into a library (#708)
preston-evans98 Aug 22, 2023
d119b47
DA mock implementation (#686)
bkolad Aug 22, 2023
cf6fd44
Minor fixes in demo-rollup to filter out transaction registrations (#…
citizen-stig Aug 23, 2023
625c461
Implement State Vectors (#685)
eyusufatik Aug 23, 2023
0643f97
Improvements to `StateVec` (#688)
neysofu Aug 23, 2023
05c4f25
Hash-encode keys in `StateMap` instead of serializing them with a cod…
neysofu Aug 23, 2023
23b5165
Split AddressTrait (#720)
citizen-stig Aug 23, 2023
07abb68
EVM remove receipt type (#719)
bkolad Aug 23, 2023
b712555
Use `MockAddress` in `sov-sequencer-registry` tests. (#725)
bkolad Aug 24, 2023
6726a5e
Fix `#[state(codec_builder = ...)]` test (#723)
neysofu Aug 24, 2023
203d839
Add create-token integration test (#716)
preston-evans98 Aug 24, 2023
04408b8
Fixing `where` bounds for rpc_gen (#726)
citizen-stig Aug 24, 2023
8106ffa
Generate docs in rpc macros (#729)
preston-evans98 Aug 25, 2023
cafcae3
EVM test cleanup (#732)
bkolad Aug 25, 2023
768eb9e
Fix CI (#734)
neysofu Aug 25, 2023
96f81f2
Add docs for examples/demo-prover (#730)
dubbelosix Aug 25, 2023
269a66f
Use MockAddress in demo-rollup benches. (#738)
bkolad Aug 28, 2023
29beb5d
Bump serde from 1.0.185 to 1.0.188 (#746)
dependabot[bot] Aug 28, 2023
3832152
Bump reqwest from 0.11.18 to 0.11.20 (#745)
dependabot[bot] Aug 28, 2023
ce27e1b
CLEANUP: remove sov-election module since we don't need it and modify…
dubbelosix Aug 28, 2023
a6a939d
Update `end_slot_hook` (#742)
bkolad Aug 28, 2023
e9f9d0b
Migrate to buildjet (#748)
preston-evans98 Aug 28, 2023
2dae19d
No default feature in CI (#741)
neysofu Aug 28, 2023
216fb16
Allow modules to mint on their own authority (#728)
preston-evans98 Aug 28, 2023
211b56f
Modify risc0 tracer util to print function stack to enable better deb…
dubbelosix Aug 28, 2023
693ecb6
Remove unnecessary generic from `MockBlob` (#749)
bkolad Aug 29, 2023
b06c98b
feat: add fuzzing (#651)
vlopes11 Aug 29, 2023
c6b814c
Fix CI job cancellation (#751)
neysofu Aug 29, 2023
9d4931a
Split `Storage::validate_and_commit` into two separate methods `Stora…
bkolad Aug 30, 2023
7dfeb06
Fix `expose_rpc` macro with associated types (#733)
citizen-stig Aug 30, 2023
73af797
Allow modules to burn coins (#756)
preston-evans98 Aug 30, 2023
6bc845b
Move generic from method to trait, so it will be easier to use it wit…
citizen-stig Aug 30, 2023
461a749
Add Bitcoin DA Adapter link to README (#758)
orkunkilic Aug 30, 2023
9bcd69c
Add RPC for `chain-state` module (#760)
citizen-stig Aug 30, 2023
aba66bf
Specify version of `jmt` which contains fix (#762)
citizen-stig Aug 31, 2023
d66b9a0
Remove separate "serde" feature (#761)
citizen-stig Aug 31, 2023
f21f011
Bump dalek-ed25519 to 2.0.0 (#667)
citizen-stig Sep 1, 2023
ff8c800
Fix `expose_rpc` macro to handle all cases of generics from Runtime (…
citizen-stig Sep 1, 2023
193105b
EVM: Allow DA blobs with multiple transactions. (#767)
bkolad Sep 1, 2023
53a6371
Add doc generation to the `genesis` macro. (#772)
bkolad Sep 1, 2023
f5e3b74
Add a test case to `demo-simple-stf` (#774)
bkolad Sep 1, 2023
5b45115
Add docs to dispatch call macro (#775)
bkolad Sep 1, 2023
e82535f
Plug in `sov-chain-state` module (#776)
citizen-stig Sep 1, 2023
c0f8d24
Refactor Generics to use Specs (#780)
citizen-stig Sep 1, 2023
20510d9
EVM: Placeholder for the `begin_slot_hook` (#785)
bkolad Sep 4, 2023
e83682a
Re-exporting important types from sov-rollup-interface (#781)
citizen-stig Sep 4, 2023
f8d3270
`blob-storage` module using `chain-state` module to retrieve chain st…
citizen-stig Sep 4, 2023
05429e0
Add utils for rollup with mock da (#789)
preston-evans98 Sep 4, 2023
a82743d
Fix all `rustdoc` warnings (#793)
neysofu Sep 5, 2023
777ce00
Non-JMT "accessory" state (#773)
neysofu Sep 5, 2023
5226818
Improve BlobReader interface (#794)
preston-evans98 Sep 5, 2023
93fe47f
EVM: migrate to reth types (#798)
bkolad Sep 6, 2023
e4951ee
add rh to evm hooks (#802)
bkolad Sep 6, 2023
55d42b3
EVM: Add uniswap test script (#800)
bkolad Sep 6, 2023
996b9c9
Expose `ModuleInfo::prefix(&self)` (#799)
preston-evans98 Sep 6, 2023
1adbfc9
Implement `moduleAddress` rpc method (#796)
preston-evans98 Sep 7, 2023
2242b67
feat: add sovereign.toml manifest file (#792)
vlopes11 Sep 7, 2023
dbdd4f5
Add`da_layer` flag in `demp-rollup` binary. (#812)
bkolad Sep 7, 2023
2765334
Add serde support (#805)
bkolad Sep 7, 2023
a16af40
Remove remote_setup.md. Fix typo (#815)
preston-evans98 Sep 7, 2023
bb69393
Allow modules to query token names (#821)
preston-evans98 Sep 7, 2023
9efc47a
fix keypair/private_key discrepancy for sov-cli (#811)
dubbelosix Sep 7, 2023
f90ff18
Initializes pending block on begin slot + genesis block (#803)
LukaszRozmej Sep 8, 2023
6b93031
Add missing derive to BcsCodec (#823)
bkolad Sep 8, 2023
44db227
Bug fix: StateMap::Keys are not consistent across platforms (#804)
preston-evans98 Sep 8, 2023
83ba024
Refactoring to unify evm Address and U256 types, serializing with ser…
LukaszRozmej Sep 8, 2023
b735eaf
Prepend `sov-` prefix to all releasable crates (#824)
neysofu Sep 8, 2023
6645ddb
Remove EvmTransactionSignedEcRecovered type to make code less complic…
LukaszRozmej Sep 8, 2023
2d7c9d6
EVM: Add eth endpoints for the `uniswap` scritpt. (#827)
bkolad Sep 8, 2023
cefacb1
Fix benchmark table (#828)
preston-evans98 Sep 8, 2023
80230c8
Fix benchmark genesis address to match block production address (#829)
dubbelosix Sep 9, 2023
afe2291
EVM: Introduce DevSigner (#837)
bkolad Sep 12, 2023
5269d2b
Unify `ValidityCondition` and `BlobTransaction` generics under `DaSpe…
preston-evans98 Sep 12, 2023
a1d6e7d
Enable end-to-end integrations tests including prover->verifier workf…
preston-evans98 Sep 12, 2023
8ea821b
EVM: support for `eth_accounts` (#843)
bkolad Sep 13, 2023
da231aa
Fix nits (#846)
preston-evans98 Sep 13, 2023
7f22bcd
Add doc generation to cli_parser (#848)
bkolad Sep 13, 2023
bfbb33d
Deps cleanup (#852)
bkolad Sep 13, 2023
e6b1c23
EVM: Storage improvements , Blocks, Transactions, Receipts (#830)
LukaszRozmej Sep 14, 2023
6098578
Remove todos (#849)
bkolad Sep 14, 2023
4cb492e
Evm/trim packages (#858)
LukaszRozmej Sep 14, 2023
8d9d211
Release `v0.2.0-alpha` (#817)
neysofu Sep 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export RUSTFLAGS='--cfg procmacro2_semver_exempt'
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: weekly
day: monday
time: "15:00"
timezone: "Europe/Warsaw"
open-pull-requests-limit: 10
41 changes: 41 additions & 0 deletions .github/workflows/cleanup_caches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# From <https://github.com/actions/cache/blob/main/tips-and-workarounds.md#force-deletion-of-caches-overriding-default-cache-eviction-policy>.

name: Cleanup caches from deleted branch
on:
pull_request:
types:
- closed
workflow_dispatch:

jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
# `actions:write` permission is required to delete caches
# See also: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-a-github-actions-cache-for-a-repository-using-a-cache-id
actions: write
contents: read
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Cleanup
run: |
gh extension install actions/gh-actions-cache

REPO=${{ github.repository }}
BRANCH=refs/pull/${{ github.event.pull_request.number }}/merge

echo "Fetching list of cache key"
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )

## Setting this to not fail the workflow while deleting cache keys.
set +e
echo "Deleting caches..."
for cacheKey in $cacheKeysForPR
do
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
done
echo "Done"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/dependency_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
with:
fail-on-severity: critical
Loading