Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
4fac11e
add test set_root_weights
JohnReedV Apr 15, 2024
ad31fc0
Merge branch 'development' into set_root_weights_coldkey
JohnReedV Apr 29, 2024
15c671a
cargo fmt
JohnReedV Apr 29, 2024
a49315d
fix comment
JohnReedV Apr 29, 2024
00508fd
reject root from set_weights
JohnReedV Apr 30, 2024
12a8941
add tests
JohnReedV Apr 30, 2024
dd1a596
add comment
JohnReedV Apr 30, 2024
3b9e53e
resolve merge conflict correctly
JohnReedV Apr 30, 2024
6ddb815
Merge branch 'development' into set_root_weights_coldkey
JohnReedV Apr 30, 2024
6e1c292
wip: upgrade runtime to v1.10.0
orriin May 1, 2024
da02f43
refactor: chain spec and tests
orriin May 2, 2024
561cc8d
fix: lint
orriin May 2, 2024
b636e6c
fix: lint
orriin May 2, 2024
8362b2a
update comments
cuteolaf May 3, 2024
e57b429
update comments
cuteolaf May 3, 2024
16a91c1
fix metadata
open-junius May 3, 2024
9b99aad
fix: benchmarks
orriin May 3, 2024
efaeadc
fix: weight warning
orriin May 3, 2024
e015fba
fix: node bench command
orriin May 3, 2024
20d486a
finally, clippy
orriin May 3, 2024
b9c1b63
fix: fmt
orriin May 3, 2024
8b0f9c3
fix: zepter
orriin May 3, 2024
28f64e9
fix: benchmark clippy
orriin May 3, 2024
c78f16f
add all pallets
open-junius May 3, 2024
e28e0b3
fmt code
open-junius May 3, 2024
4110a84
fix: grandpa migration
orriin May 3, 2024
c54698c
chore: remove noop package
orriin May 4, 2024
a742497
Merge pull request #387 from opentensor/feat/polkadot-sdk-v1.10.0
sam0x17 May 5, 2024
181a99c
Merge pull request #335 from opentensor/set_root_weights_coldkey
sam0x17 May 5, 2024
f763313
ready for ci
open-junius May 5, 2024
5f8bfbc
merge with development
open-junius May 5, 2024
87f186e
fix compile
open-junius May 5, 2024
5a01399
split error and event
open-junius May 5, 2024
a38dd70
update two comments
open-junius May 5, 2024
a7fc5e8
start commit-reveal WIP
JohnReedV May 5, 2024
f4be4fd
correct one comment
open-junius May 6, 2024
b791b45
fix an assert
open-junius May 6, 2024
630d5b3
fix: genesis config
orriin May 6, 2024
ef2ade3
fix: zepter
orriin May 6, 2024
2cc70b3
Merge pull request #391 from opentensor/junius/fix-metadata
open-junius May 6, 2024
a769cce
Merge pull request #397 from opentensor/fix/genesis-config-v1.10
sam0x17 May 6, 2024
3465d33
fix: clippy ci
orriin May 6, 2024
44ec632
fix: clippy
orriin May 6, 2024
42aff7e
fix: cargo warning
orriin May 6, 2024
e323eb6
do commit/reveal & add tests
JohnReedV May 6, 2024
172e31a
fix
JohnReedV May 6, 2024
4433cde
kick ci
orriin May 7, 2024
4cb17ad
kick ci
orriin May 7, 2024
c044947
fix checks
JohnReedV May 7, 2024
81a8aad
fix tests
JohnReedV May 7, 2024
51b6189
Merge branch 'development' into commit-reveal-weights
JohnReedV May 7, 2024
001918a
re add errors
JohnReedV May 7, 2024
b56c179
fix: clippy
orriin May 8, 2024
144386e
ci: use subtensorci
orriin May 8, 2024
d7633ac
Merge pull request #398 from opentensor/fix/clippy-deny-warnings
orriin May 8, 2024
1b22f33
revert set_weights removal
JohnReedV May 8, 2024
dcd0b0f
revert set_weights removal
JohnReedV May 8, 2024
2686bef
cargo clippy
JohnReedV May 8, 2024
9ba4e48
expand test_commit_reveal_interval
JohnReedV May 8, 2024
024c744
feat: make faucet feeless
May 8, 2024
dc6ff91
fix pays no check
open-junius May 9, 2024
deb32dd
remove test
open-junius May 9, 2024
d241191
fix benchmark
open-junius May 9, 2024
2b8d13e
revert make faucet feeless
JohnReedV May 9, 2024
f765321
remove commented code
open-junius May 9, 2024
60e8fd0
remove nonce from hash
JohnReedV May 9, 2024
2a2ba23
cargo clippy
JohnReedV May 9, 2024
7d70267
cargo fmt
JohnReedV May 9, 2024
bc13b7b
fix: bump spec version
orriin May 10, 2024
18c520d
Merge pull request #408 from opentensor/fix/bump-development-spec-ver…
sam0x17 May 10, 2024
a3e0813
Added reserved nodes to docker compose to ensure sync with validator
shibshib May 10, 2024
8d6890b
commit missing Cargo.lock changes
sam0x17 May 10, 2024
833364b
Merge pull request #404 from opentensor/junius/fix-pays-no
sam0x17 May 10, 2024
cb8754f
Merge pull request #409 from opentensor/bring-in-reserved-nodes-chang…
sam0x17 May 10, 2024
5961668
fix nonce to bytes
open-junius May 10, 2024
5f93914
use le types
open-junius May 10, 2024
1a538c5
remove unneed test
open-junius May 10, 2024
74f2f3b
Merge pull request #410 from opentensor/junius/fix-faucet-calc
distributedstatemachine May 10, 2024
0ae2d5e
start commit-reveal WIP
JohnReedV May 5, 2024
9bf95fb
do commit/reveal & add tests
JohnReedV May 6, 2024
2d26b09
fix
JohnReedV May 6, 2024
bbc9383
fix checks
JohnReedV May 7, 2024
93b3e6c
fix tests
JohnReedV May 7, 2024
45989cb
re add errors
JohnReedV May 7, 2024
69899f0
revert set_weights removal
JohnReedV May 8, 2024
3466bf6
revert set_weights removal
JohnReedV May 8, 2024
3f5cc37
cargo clippy
JohnReedV May 8, 2024
677a241
expand test_commit_reveal_interval
JohnReedV May 8, 2024
c8b5d2e
feat: make faucet feeless
May 8, 2024
098efb2
revert make faucet feeless
JohnReedV May 9, 2024
e6daa91
remove nonce from hash
JohnReedV May 9, 2024
7f88478
cargo clippy
JohnReedV May 9, 2024
a65a43b
cargo fmt
JohnReedV May 10, 2024
4b5175b
Merge branch 'commit-reveal-weights' of github.com:opentensor/subtens…
JohnReedV May 10, 2024
50a305b
Merge branch 'development' into commit-reveal-weights
JohnReedV May 10, 2024
3fa337e
fix cargo.lock
JohnReedV May 10, 2024
9c8cab6
Merge branch 'commit-reveal-weights' of github.com:opentensor/subtens…
JohnReedV May 10, 2024
3178bfa
add logs
JohnReedV May 10, 2024
841db8a
add doc comments for commit/reveal
JohnReedV May 12, 2024
4a3156e
finish doc comments
JohnReedV May 12, 2024
c4246dc
prevent division by zero
JohnReedV May 12, 2024
869eabb
add benchmarks for commit/reveal
JohnReedV May 12, 2024
da4d9b9
fix warning
JohnReedV May 12, 2024
f073f03
Merge pull request #390 from cuteolaf/patch-1
distributedstatemachine May 13, 2024
5e557b2
comments -> rust docs
JohnReedV May 13, 2024
22a9a66
update weight values
JohnReedV May 13, 2024
c1d4ef8
feat: allow invoking localnet.sh from anywhere
orriin May 14, 2024
c823cd8
Merge pull request #413 from opentensor/feat/call-localnet-from-anywhere
sam0x17 May 14, 2024
dd93e0c
Merge pull request #396 from opentensor/commit-reveal-weights
distributedstatemachine May 14, 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
59 changes: 53 additions & 6 deletions .github/workflows/check-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ jobs:
- name: cargo fmt
run: cargo fmt --check --all

# runs cargo clippy --workspace --all-targets --all-features
cargo-clippy:
cargo-clippy-default-features:
name: cargo clippy
runs-on: SubtensorCI
strategy:
Expand Down Expand Up @@ -117,8 +116,56 @@ jobs:
with:
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}

- name: cargo clippy --workspace --all-targets --all-features
run: cargo clippy --workspace --all-targets --all-features
- name: cargo clippy --workspace --all-targets -- -D warnings
run: cargo clippy --workspace --all-targets -- -D warnings

cargo-clippy-all-features:
name: cargo clippy --all-features
runs-on: SubtensorCI
strategy:
matrix:
rust-branch:
- nightly-2024-03-05
rust-target:
- x86_64-unknown-linux-gnu
# - x86_64-apple-darwin
os:
- ubuntu-latest
# - macos-latest
include:
- os: ubuntu-latest
# - os: macos-latest
env:
RELEASE_NAME: development
# RUSTFLAGS: -A warnings
RUSTV: ${{ matrix.rust-branch }}
RUST_BACKTRACE: full
RUST_BIN_DIR: target/${{ matrix.rust-target }}
SKIP_WASM_BUILD: 1
TARGET: ${{ matrix.rust-target }}
steps:
- name: Check-out repository under $GITHUB_WORKSPACE
uses: actions/checkout@v2

- name: Install dependencies
run: |
sudo apt-get update &&
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler

- name: Install Rust ${{ matrix.rust-branch }}
uses: actions-rs/toolchain@v1.0.6
with:
toolchain: ${{ matrix.rust-branch }}
components: rustfmt, clippy
profile: minimal

- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2.2.1
with:
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}

- name: cargo clippy --workspace --all-targets --all-features -- -D warnings
run: cargo clippy --workspace --all-targets --all-features -- -D warnings

# runs cargo test --workspace
cargo-test:
Expand Down Expand Up @@ -279,7 +326,7 @@ jobs:

check-feature-propagation:
name: zepter run check
runs-on: ubuntu-22.04
runs-on: SubtensorCI

steps:
- name: Install stable Rust
Expand All @@ -301,7 +348,7 @@ jobs:

check-finney-migrations:
name: check finney migrations
runs-on: ubuntu-22.04
runs-on: SubtensorCI
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ specs/*.json
*.orig

# VSCode configuration
.vscode
.vscode

# IntelliJ IDEA configuration
.idea
Loading