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

Rework max #18

Merged
merged 43 commits into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
be7ad75
TMP commit
konstantinzolotarev Sep 23, 2024
7fb89d2
TMP commit
konstantinzolotarev Sep 23, 2024
6a9bd9c
Added tmp code
konstantinzolotarev Sep 30, 2024
aaa67f3
Added event handler description
konstantinzolotarev Sep 30, 2024
e4db1fd
broken
max-wickham Oct 2, 2024
5388ea0
flashbots
max-wickham Oct 2, 2024
61131a1
functional
max-wickham Oct 2, 2024
4ee4c33
Added challenge period draft + some logs
konstantinzolotarev Oct 3, 2024
a18030f
cleanup
max-wickham Oct 4, 2024
cdb392b
Merge branch 'rework_max' of github.com:chronicleprotocol/challenger-…
max-wickham Oct 4, 2024
a85c2c2
challenge period
max-wickham Oct 4, 2024
fed6bc7
challenge period check
max-wickham Oct 11, 2024
db56a07
tests
max-wickham Oct 13, 2024
ab8d1bf
refactor out anvil and scribe creation
max-wickham Oct 14, 2024
e468095
tests
max-wickham Oct 15, 2024
f7fe6ae
todo
max-wickham Oct 16, 2024
3ba797b
passing tests
max-wickham Oct 18, 2024
c951616
cleanup tets
max-wickham Oct 18, 2024
f5a7ae9
comments
max-wickham Oct 18, 2024
24ed56a
comments
max-wickham Oct 18, 2024
454a589
fmt
max-wickham Oct 25, 2024
f23b4e9
Formatted
konstantinzolotarev Oct 25, 2024
5881c96
test 100 scribes
max-wickham Oct 28, 2024
24a9668
Merge branch 'rework_max' of github.com:chronicleprotocol/challenger-…
max-wickham Oct 28, 2024
d62eb55
test: 100 scribe instances running stably
max-wickham Oct 28, 2024
1667f4d
Updated logic + some rename
konstantinzolotarev Oct 28, 2024
ebae994
comment
max-wickham Oct 29, 2024
e325c1e
Merge branch 'rework_max' of github.com:chronicleprotocol/challenger-…
max-wickham Oct 29, 2024
9c90548
Reworked logging + removed dangerous unwraps
konstantinzolotarev Nov 9, 2024
a9ac662
Fix clippy
konstantinzolotarev Nov 9, 2024
cbfb235
Fix clippy
konstantinzolotarev Nov 9, 2024
70b8c0d
Updated logging and default levels
konstantinzolotarev Nov 10, 2024
d9d66de
Anvil installation on github actions
konstantinzolotarev Nov 19, 2024
2653e22
Anvil installation on github actions
konstantinzolotarev Nov 19, 2024
2f3ac47
Anvil installation on github actions
konstantinzolotarev Nov 19, 2024
20c9984
Anvil installation on github actions
konstantinzolotarev Nov 19, 2024
c22b27a
Anvil installation on github actions
konstantinzolotarev Nov 19, 2024
397bfa0
Anvil installation on github actions
konstantinzolotarev Nov 19, 2024
c500902
Anvil installation on github actions
konstantinzolotarev Nov 19, 2024
82bf955
Anvil installation on github actions
konstantinzolotarev Nov 19, 2024
9e311db
Fixed prometheus metrics + updated challenge logic to validate challe…
konstantinzolotarev Nov 23, 2024
42194f3
Fixed clippy & logs
konstantinzolotarev Nov 23, 2024
147f04e
Fixed typos in project
konstantinzolotarev Nov 23, 2024
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
101 changes: 59 additions & 42 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,68 @@
name: test

on:
push:
branches:
- main
- master
pull_request:
push:
branches:
- main
- master
pull_request:

env:
CARGO_TERM_COLOR: always
CARGO_TERM_COLOR: always

jobs:
test:
name: tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo test --workspace --all-targets --all-features
env:
RUSTFLAGS: -Dwarnings
test:
name: tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: curl -L https://foundry.paradigm.xyz | bash
- run: /home/runner/.config/.foundry/bin/foundryup
- run: ls -l /home/runner/.config/.foundry/bin
# - run: /home/runner/.config/.foundry/bin/anvil --help
- run: /home/runner/.config/.foundry/bin/anvil --help
- run: cargo test --workspace --all-targets --all-features
env:
ANVIL_BIN: /home/runner/.config/.foundry/bin/anvil
RUSTFLAGS: -Dwarnings

clippy:
name: clippy
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo clippy --workspace --all-targets --all-features
env:
RUSTFLAGS: -Dwarnings
clippy:
name: clippy
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo clippy --workspace --all-targets --all-features
env:
RUSTFLAGS: -Dwarnings

fmt:
name: fmt
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all --check
fmt:
name: fmt
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all --check

typos-check:
name: TyposCheck
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1.22.7
with:
config: ./typos.toml
isolated: true
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/target
.DS_Store
.vscode
.idea
.idea
LOCAL.md
Loading
Loading