Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
c76ee75
mb monitor main
gpestana Oct 4, 2024
6906bef
mb snapshots
gpestana Oct 4, 2024
48f0d95
uses MinerConfig
gpestana Oct 8, 2024
699d8c5
adds stuff
gpestana Oct 11, 2024
4763d62
finishes E2E registed submission passing
gpestana Oct 12, 2024
cf56dc8
align with refactors in EPM-MB
gpestana Oct 12, 2024
a4412fc
nits and comments
gpestana Oct 12, 2024
54c7b28
Merge remote-tracking branch 'origin/main' into gpestana/mb-miner
niklasad1 Dec 11, 2024
0ddf909
refactor: single binary for legacy/multiblock
niklasad1 Jan 9, 2025
0c63d00
add support for staking-dev
niklasad1 Jan 10, 2025
7110b0d
make it compile
niklasad1 Jan 30, 2025
35d5f56
Update Cargo.toml
niklasad1 Jan 31, 2025
89622f6
small fixes
niklasad1 Jan 31, 2025
8d79199
it works
niklasad1 Feb 1, 2025
7e11aa0
refactor and fix nits
niklasad1 Feb 1, 2025
4203626
Merge remote-tracking branch 'origin/main' into na-feature-gated-exp-…
niklasad1 Feb 1, 2025
8c669b1
cleanup
niklasad1 Feb 3, 2025
c117adb
fix test build
niklasad1 Feb 3, 2025
d10a533
more refactoring, remove duplicate code
niklasad1 Feb 3, 2025
0034acf
remove hacks
niklasad1 Feb 3, 2025
2d2a6c9
fix harded constants
niklasad1 Feb 4, 2025
7939aef
add snapshot_voter_hash for easier debugging
niklasad1 Feb 4, 2025
a19da74
more cleanup
niklasad1 Feb 5, 2025
adc3322
more cleanup
niklasad1 Feb 5, 2025
9e49646
more refactor
niklasad1 Feb 6, 2025
16f235d
fix nits
niklasad1 Feb 6, 2025
b4d9289
more nit fixing
niklasad1 Feb 7, 2025
d827b79
use snapshot hash check vs on-chain
niklasad1 Feb 7, 2025
a09a8eb
multi-threaded multi block miner
niklasad1 Feb 7, 2025
de5b06d
use abortable futures to abort stale mining tasks
niklasad1 Feb 8, 2025
a5e97af
avoid write lock to snapshot cache
niklasad1 Feb 8, 2025
215a56e
update metadata
niklasad1 Feb 10, 2025
7e5c515
update polkadot-sdk
niklasad1 Feb 10, 2025
15fc1ff
shared submission strategy type
niklasad1 Feb 10, 2025
349b74f
Merge remote-tracking branch 'origin/main' into na-feature-gated-exp-…
niklasad1 Feb 11, 2025
06babcf
fix incompat solution types on substrate node
niklasad1 Feb 11, 2025
ce5e600
feasibility check solution
niklasad1 Feb 11, 2025
ecd18fc
refactor: rename epm mod -> dynamic
niklasad1 Feb 12, 2025
85cfa97
rustfmt stable
niklasad1 Feb 14, 2025
9c55af7
Merge remote-tracking branch 'origin/main' into na-feature-gated-exp-…
niklasad1 Feb 14, 2025
cf1f2c9
more refactor
niklasad1 Feb 14, 2025
982d524
fix ci jobs with mutually exclusive features
niklasad1 Feb 14, 2025
aadb835
cleanup conditional compilation
niklasad1 Feb 14, 2025
0e07202
more cleanup
niklasad1 Feb 14, 2025
2301b22
more nit picking
niklasad1 Feb 14, 2025
dc7737b
missing file
niklasad1 Feb 15, 2025
2eecca2
deps: use polkadot master
niklasad1 Feb 15, 2025
0793cd4
fix ci
niklasad1 Feb 17, 2025
8f01f7f
fix ci
niklasad1 Feb 17, 2025
7cc44a0
fix emergency command for legacy miner
niklasad1 Feb 17, 2025
6afe4e2
fix legacy miner
niklasad1 Feb 17, 2025
5a61c20
fix doc tests
niklasad1 Feb 17, 2025
c1477df
add basic prometheus metrics
niklasad1 Feb 17, 2025
0385d86
add check for submitted solution pages
niklasad1 Feb 18, 2025
f4ff2dc
disable trimming test
niklasad1 Feb 19, 2025
69d5c02
cargo fmt
niklasad1 Feb 19, 2025
faefb5d
ci: fix rust doc test
niklasad1 Feb 19, 2025
0409314
add hacky support for assethub
niklasad1 Feb 19, 2025
02ddf5b
use proper constants from multi-block pallet
niklasad1 Feb 26, 2025
a5787c5
update metadata
niklasad1 Feb 27, 2025
8022efa
submit all pages at one + use bail api
niklasad1 Feb 28, 2025
1907df9
Merge remote-tracking branch 'origin/main' into na-feature-gated-exp-…
niklasad1 Mar 3, 2025
bb28618
make legacy default again
niklasad1 Mar 3, 2025
ea0edf5
better retry
niklasad1 Mar 3, 2025
302bd04
retry register score
niklasad1 Mar 3, 2025
4d7274e
more nit fixing
niklasad1 Mar 3, 2025
e60b502
use correct polkadot-sdk branch + use Phase codegen
niklasad1 Mar 4, 2025
9dd8e2f
cleanup errors
niklasad1 Mar 5, 2025
1cee815
read all snapshots in snapshot state
niklasad1 Mar 5, 2025
d676f28
use SubmissionsMetadata + only resubmit missing pages
niklasad1 Mar 5, 2025
308a8f2
add command experimental-monitor-multi-block + remove conditional com…
niklasad1 Mar 7, 2025
a0bdee5
fix ci
niklasad1 Mar 7, 2025
ed87166
Update Cargo.toml
niklasad1 Mar 7, 2025
eaa87b5
cleanup
niklasad1 Mar 7, 2025
29de6bd
fix more nits
niklasad1 Mar 7, 2025
ef3bf67
retab
niklasad1 Mar 7, 2025
e588f79
fix mixed tabs/spaces
niklasad1 Mar 7, 2025
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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ jobs:
- name: Check documentation
run: |
${{ env.RUST_INFO }}
RUSTDOCFLAGS="--cfg docsrs --deny rustdoc::broken_intra_doc_links" cargo doc --verbose --workspace --no-deps --document-private-items --all-features
RUSTDOCFLAGS="--cfg docsrs --deny rustdoc::broken_intra_doc_links" cargo +nightly doc --verbose --workspace --no-deps --document-private-items

check-cargo-hack:
name: Check code using cargo-hack
check-code:
name: Check code
runs-on: ubuntu-latest
needs: [set-image]
container: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -97,10 +97,10 @@ jobs:
with:
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}

- name: Check code using cargo-hack
- name: Check code
run: |
${{ env.RUST_INFO }}
cargo hack check --workspace --each-feature --all-targets
cargo check --workspace --all-targets

test:
name: Run tests
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
name: Test Docker image build
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
needs: [check-fmt, check-clippy, check-docs, check-cargo-hack, test, build]
needs: [check-fmt, check-clippy, check-docs, check-code, test, build]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' || github.ref_type == 'tag' }}
runs-on: ubuntu-latest
environment: main_and_tags
needs: [check-fmt, check-clippy, check-docs, check-cargo-hack, test, build]
needs: [check-fmt, check-clippy, check-docs, check-code, test, build]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
Loading
Loading