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

basic chain using tower-abci and penumbra stack #5

Merged
merged 64 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
d5cc061
move all sources into a cargo workspace
SuperFluffy May 16, 2023
3393a04
use the astria- prefix on all crates
SuperFluffy May 16, 2023
edbb591
remove overlooked hidden files, licenses
SuperFluffy May 16, 2023
4b3499e
make all astria dependencies paths
SuperFluffy May 16, 2023
70ee28a
apply fmt to the entire workspace
SuperFluffy May 16, 2023
9a42626
begin astria-sequencer; implement base app
noot May 17, 2023
38b3491
begin app and account component
noot May 17, 2023
fb75596
begin connecting consensus component to app
noot May 17, 2023
03e5109
cleanup and fix
noot May 17, 2023
878b751
update readme
noot May 17, 2023
f1e6367
merge
noot May 17, 2023
0d15225
add transaction wrapper, StateReadExt/StateWriteExt, finish up app logic
noot May 17, 2023
1b7c722
wip: testing with transactions
noot May 17, 2023
bb1bcbc
refactor ConsensusService, fix referencing issues
noot May 17, 2023
5206efb
don't panic on deliver_tx fail
noot May 17, 2023
1f40ac0
init genesis state on if init_chain not called
noot May 17, 2023
ca98fa7
implement nonce; clean up account module format
noot May 18, 2023
a63134d
clippy
noot May 18, 2023
0f5c452
implement account queries, wip
noot May 19, 2023
0a026a6
fix state apply after tx.execute
noot May 19, 2023
8051662
change default logging to info
noot May 19, 2023
2479af3
implement mempool CheckTx
noot May 19, 2023
d9950c3
merge
noot May 22, 2023
ef7acd5
use tagged versions of penumbra/tower-abci
noot May 24, 2023
b2639a0
update tower-abci crate
noot May 24, 2023
ccc11ac
refactor main to use Sequencer
noot May 24, 2023
ff7ddb8
add Consensus::handle_request, address other comments
noot May 24, 2023
b5bcaeb
instrument; move main to main.rs
noot May 25, 2023
5473f92
add telemetry.rs
noot May 25, 2023
bb951d3
merge w main
noot May 25, 2023
1557fcc
address accounts comments
noot May 25, 2023
685307e
split balance and nonce into different storage keys
noot May 31, 2023
5333411
implement ActionHandler trait
noot May 31, 2023
79f2503
address comments
noot Jun 5, 2023
a8d9dde
Merge branch 'main' of github.com:astriaorg/astria into noot/sequencer
noot Jun 5, 2023
4e2276b
merge
noot Jun 7, 2023
de4d06c
add unit test for init_state
noot Jun 7, 2023
0578fbd
add app deliver_tx unit test
noot Jun 7, 2023
5f732a7
update transaction serialization
noot Jun 7, 2023
4215c60
more unit tests for App
noot Jun 8, 2023
6a17ce6
bump tower-abci, penumbra, tendermint deps
noot Jun 9, 2023
9062e1c
bump tower-abci, penumbra, tendermint deps
noot Jun 9, 2023
0818fee
address comments
noot Jun 9, 2023
06f4fff
update account types to be structs + use borsh + add instrumentation
noot Jun 9, 2023
0609729
Merge branch 'main' of github.com:astriaorg/astria into noot/sequencer
noot Jun 9, 2023
453a77b
update Sequencer to only have run_until_stopped
noot Jun 9, 2023
47ed5fb
merge w main
noot Jun 9, 2023
fa08ad8
Noot/sequencer fix (#74)
SuperFluffy Jun 14, 2023
d729d47
use patch of penumbra-tower-trace, update README
noot Jun 15, 2023
74a80c4
Merge branch 'main' of github.com:astriaorg/astria into noot/sequencer
noot Jun 15, 2023
2db1630
add tokio_unstable to ci rust flags
SuperFluffy Jun 15, 2023
52b7f88
add quotes
SuperFluffy Jun 15, 2023
4e63136
all rustflag components in one line
SuperFluffy Jun 15, 2023
c6ff33a
restrict visibility of items to crate-private
SuperFluffy Jun 15, 2023
4655f9f
restrict visibility of items to crate-private
SuperFluffy Jun 15, 2023
b5ccc38
fix clippy pedantic suggestions
SuperFluffy Jun 15, 2023
4e78132
run pedantic clippy against sequencer
SuperFluffy Jun 15, 2023
40a284c
too many dashes in cli opt
SuperFluffy Jun 15, 2023
f6a2a76
set astria-sequencer clippy step to pedantic
SuperFluffy Jun 15, 2023
fe3d2c0
fix clippy in tests
SuperFluffy Jun 15, 2023
c9613ea
install clang in dockerfiles
SuperFluffy Jun 15, 2023
048964c
remove let annotation
SuperFluffy Jun 15, 2023
7cdd9d2
properly handle failure to process consensus request
SuperFluffy Jun 15, 2023
c2b2b5d
clippy suggestion
SuperFluffy Jun 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
rustflags = ["--cfg", "tokio_unstable"]
SuperFluffy marked this conversation as resolved.
Show resolved Hide resolved
7 changes: 5 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Rust
env:
CI: true
RUSTFLAGS: "-D warnings -D unreachable-pub"
RUSTFLAGS: "-D warnings -D unreachable-pub --cfg tokio_unstable"
on:
pull_request:
push:
Expand All @@ -13,6 +13,7 @@ jobs:
test:
runs-on: ubuntu-22.04
steps:
- run: echo $RUSTFLAGS
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.69.0
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -93,4 +94,6 @@ jobs:
version: "1.17.0"
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: run clippy
run: cargo clippy --all --all-targets -- -D warnings
run: cargo clippy --workspace --all-targets --exclude astria-sequencer -- -D warnings
- name: run pedantic clippy
run: cargo clippy --all-targets -p astria-sequencer -- -W clippy::pedantic -D warnings
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ target/

# jetbrains
.idea
# direnv
.envrc
Loading