Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
306 commits
Select commit Hold shift + click to select a range
352b25f
fix subtensor pallet test mock config
sam0x17 Mar 12, 2024
b9824bf
fix admin-utils mock test config
sam0x17 Mar 12, 2024
33d4b74
try to fix construct_runtime!
sam0x17 Mar 12, 2024
8992430
try to fix collective construct_runtime!
sam0x17 Mar 12, 2024
cb0da7c
fix collective pallet test config
sam0x17 Mar 12, 2024
00ebd86
fix missing BuildStorage import
sam0x17 Mar 12, 2024
37a5b36
fix several new_test_ext()s
sam0x17 Mar 12, 2024
a567211
apply auto formatting to all files
sam0x17 Mar 12, 2024
fd585c3
Merge remote-tracking branch 'origin/sam-cargo-fmt' into sam-upgrade-…
sam0x17 Mar 12, 2024
053726b
more fixes
sam0x17 Mar 12, 2024
83bc3f6
fix commitments pallet test construct_runtime!
sam0x17 Mar 13, 2024
fd42f35
fix admin-utils mock runtime and pallet_balances config
sam0x17 Mar 13, 2024
1345aee
fix subtensor mock/test construct_runtime and config
sam0x17 Mar 13, 2024
b223b86
remove deprecated Where section
sam0x17 Mar 15, 2024
49c2bfc
fix compile error :tada: :tada: :tada: :tada: :tada:
sam0x17 Mar 18, 2024
1f82090
Merge remote-tracking branch 'origin/main' into sam-upgrade-polkadot-1.0
sam0x17 Mar 18, 2024
4a57e9a
Add clippy to CI
keithtensor Mar 19, 2024
506b524
Perform cargo fmt check on all targets and features
keithtensor Mar 19, 2024
79044e8
Fix some clippy warnings
keithtensor Mar 19, 2024
6417b47
Fix compilation errors
keithtensor Mar 19, 2024
65af4e3
Merge pull request #266 from opentensor/keith-add-clippy-ci
sam0x17 Mar 19, 2024
2f3aa14
Fix CI
keithtensor Mar 19, 2024
e789084
Install rustfmt and clippy on CI
keithtensor Mar 19, 2024
4e626ba
Disable checking of all targets and features
keithtensor Mar 19, 2024
667b4a5
Install the right nightly
keithtensor Mar 19, 2024
6e23b3f
Make sure we're using the right year of the nightly
keithtensor Mar 19, 2024
1b2b526
Remove try-runtime subcommand
keithtensor Mar 19, 2024
e8c6a91
fix existential deposit issue
sam0x17 Mar 19, 2024
e5e2235
fix: clippy
Mar 19, 2024
86ef251
sam revamp CI
sam0x17 Mar 19, 2024
297ae3b
fix typo
sam0x17 Mar 19, 2024
9f6f3c9
make CI names shorter because omg it's so long
sam0x17 Mar 19, 2024
64bc003
add CI check asserting that cargo fix --workspace has no local changes
sam0x17 Mar 19, 2024
73007b4
temporary fix for test_registration_difficulty_adjustment failure
sam0x17 Mar 19, 2024
05e1026
Move Cargo.toml lints into CLI flags
keithtensor Mar 20, 2024
e6fa919
Fix YAML syntax
keithtensor Mar 20, 2024
e1dcc70
Fix YAML syntax
keithtensor Mar 20, 2024
260023d
Fix clippy CLI syntax
keithtensor Mar 20, 2024
7fef8c9
Deny panics
keithtensor Mar 20, 2024
8e64ffc
Do proper multiline syntax
keithtensor Mar 21, 2024
e849d1c
Allow unreachable macros again in clippy
keithtensor Mar 21, 2024
83e7e3b
Merge remote-tracking branch 'origin/main' into sam-upgrade-polkadot-1.0
sam0x17 Mar 22, 2024
d0c6639
add comment
sam0x17 Mar 22, 2024
8d0395d
fix deprecation warning for NativeElseWasmExecutor::new
sam0x17 Mar 22, 2024
0e991b4
remove remote_keystore function (no longer needed)
sam0x17 Mar 22, 2024
8de291c
remove unnecessary mut
sam0x17 Mar 22, 2024
8d490e4
remove some unused imports
sam0x17 Mar 22, 2024
34cb539
fix a bunch of data_type deprecation warnings
sam0x17 Mar 22, 2024
cd54ab0
remove deprecated generate_store
sam0x17 Mar 22, 2024
7dfddef
remove unused param
sam0x17 Mar 22, 2024
b47c2bb
remove more deprecations and unused imports
sam0x17 Mar 22, 2024
48fda02
remove deprecated `close_old_weight`
sam0x17 Mar 22, 2024
04cadac
use dev_mode for mock test pallet instead of deprecated #[weight(0)]
sam0x17 Mar 22, 2024
3ef1942
GenesisConfig => RuntimeGenesisConfig for collective pallet
sam0x17 Mar 22, 2024
8e86851
silence useless warning coming from a macro expansion
sam0x17 Mar 22, 2024
7d55509
comment out dead code
sam0x17 Mar 22, 2024
0c66fca
collective pallet clean / no warnings :tada:
sam0x17 Mar 22, 2024
0dea481
add missing unwrap() to test
sam0x17 Mar 22, 2024
59a7101
comment out unused method
sam0x17 Mar 22, 2024
798762b
fix commitments pallet test warnings
sam0x17 Mar 22, 2024
0fd50c0
fix commitments pallet data types warnings
sam0x17 Mar 22, 2024
182a2d3
remove unused import
sam0x17 Mar 22, 2024
35444ae
fix root pallet test warnings
sam0x17 Mar 22, 2024
0ee4f0e
fix imporperly named enum variant
sam0x17 Mar 22, 2024
c0862ff
fix several mispellings
sam0x17 Mar 22, 2024
d87bf88
fix mispelled type name
sam0x17 Mar 22, 2024
c9b2477
fix more warnings
sam0x17 Mar 22, 2024
d47e2ce
fix a really weird/annoying warning
sam0x17 Mar 22, 2024
0d707c5
fix another, similar weird warning
sam0x17 Mar 22, 2024
2e9f93c
fix more warnings and spelling errors
sam0x17 Mar 22, 2024
c1c58e7
fix more warnings
sam0x17 Mar 22, 2024
f23cf38
fix more warnings
sam0x17 Mar 22, 2024
0d20682
remove unused deposit event
sam0x17 Mar 22, 2024
835a0f5
add missing unwraps to tests
sam0x17 Mar 22, 2024
afc7bf8
fix more warnings
sam0x17 Mar 22, 2024
3554b41
fix more warnings
sam0x17 Mar 22, 2024
f77d90e
fix improper use of pub (crate)
sam0x17 Mar 22, 2024
4adbb6b
another improper import
sam0x17 Mar 22, 2024
ceb563d
fix more warnings
sam0x17 Mar 22, 2024
37c7554
no more warnings :tada: :tada: :boom: :boom:
sam0x17 Mar 22, 2024
b77984e
sanity check block number
sam0x17 Mar 22, 2024
fd7e6a6
verify issue
sam0x17 Mar 22, 2024
563908a
add proxy pallet
camfairchild Mar 23, 2024
71dae03
add pallet imports and config
camfairchild Mar 23, 2024
bbbede6
fix types
camfairchild Mar 23, 2024
43bff65
fix feature flag
camfairchild Mar 23, 2024
3c00ccc
fix imports
camfairchild Mar 23, 2024
305f31a
update toml
camfairchild Mar 23, 2024
2370729
fix impl generation
camfairchild Mar 23, 2024
377da13
change import
camfairchild Mar 23, 2024
6037740
fix matching
camfairchild Mar 23, 2024
3bff4c5
WIP
sam0x17 Mar 24, 2024
89fdffb
tiny fixes & improvements
cuteolaf Mar 25, 2024
6a2133d
don't assume block number is 0 at start of test
sam0x17 Mar 25, 2024
125d42f
test_bond now passing, use new `next_block()` abstraction
sam0x17 Mar 25, 2024
be2742d
Merge branch 'main' into tiny-fixes
cuteolaf Mar 25, 2024
2def33b
fix test_active_stake()
sam0x17 Mar 25, 2024
cdcf600
fix test_registration_invalid_block_number
sam0x17 Mar 25, 2024
e96925d
fix test_registration_get_uid_to_prune_node_in_immunity_period
sam0x17 Mar 25, 2024
1755064
fix test_registration_get_uid_to_prune_all_in_immunity_period
sam0x17 Mar 25, 2024
f4127f2
fix test_root_set_weights()
sam0x17 Mar 25, 2024
aaa9e85
fix test_root_set_weights_out_of_order_netuids
sam0x17 Mar 25, 2024
5cee3a5
fix test_root_subnet_creation_deletion
sam0x17 Mar 25, 2024
2a3deee
fix test_network_pruning
sam0x17 Mar 25, 2024
c09aa1b
fix misspellings
sam0x17 Mar 25, 2024
ea79fa2
hard-code block number 0 in subtensor mock tests
sam0x17 Mar 25, 2024
0eb6b61
never mind
sam0x17 Mar 25, 2024
5f23061
Migrate from Currency trait to fungible traits
keithtensor Mar 25, 2024
ac2c04d
cargo fmt
keithtensor Mar 25, 2024
ddae821
fmt
camfairchild Mar 26, 2024
a7da937
Disable some clippy lints
keithtensor Mar 28, 2024
965f494
Try indenting
keithtensor Mar 28, 2024
9cac574
Remove commented out lines
keithtensor Mar 28, 2024
696a893
Active CI when pushing or PRing against development branch
keithtensor Mar 28, 2024
1b30fdc
bump CI for sanity purposes
sam0x17 Mar 29, 2024
667a97a
Merge remote-tracking branch 'origin/development' into sam-upgrade-po…
sam0x17 Mar 29, 2024
4fcf5f8
Fix tests and prevent accounts from dropping below ED while staking
keithtensor Mar 29, 2024
6e78810
Fixes
keithtensor Mar 29, 2024
f6fc0ab
Pre-check for a 0 amount before withdrawal
keithtensor Mar 29, 2024
b4ea027
Merge branch 'development' into sam-upgrade-polkadot-1.0
keithtensor Mar 29, 2024
1cd2d10
Update test expectations
keithtensor Apr 2, 2024
8504e1d
Use actual block number instead of assuming 0
keithtensor Apr 2, 2024
8ee0b70
Merge branch 'development' into sam-upgrade-polkadot-1.0
keithtensor Apr 2, 2024
da56cae
Make block number a parameter to new_test_ext
keithtensor Apr 2, 2024
94e6e39
fix benchmarking test
open-junius Apr 4, 2024
8b5e73d
clean compile cache
open-junius Apr 4, 2024
abfda0a
Merge remote-tracking branch 'origin/development' into sam-upgrade-po…
keithtensor Apr 4, 2024
855c451
Fix compilation errors
keithtensor Apr 4, 2024
412de1b
Fix test
keithtensor Apr 4, 2024
9e76569
Assign u64 to the Currency::Balance type in subtensor pallet
keithtensor Apr 5, 2024
7c8839d
cargo fmt
keithtensor Apr 5, 2024
895c3cf
Update spec version to 145
keithtensor Apr 5, 2024
257e883
comment out unneeded line
sam0x17 Apr 5, 2024
6b9c827
fix missing newline
sam0x17 Apr 5, 2024
18f2c94
Merge pull request #252 from opentensor/sam-upgrade-polkadot-1.0
sam0x17 Apr 8, 2024
db3d92a
init the tiny fix
open-junius Apr 8, 2024
ea89021
grandpa rpc
open-junius Apr 8, 2024
a85075f
remove commented code
open-junius Apr 9, 2024
42b3873
Merge pull request #299 from opentensor/junius/tiny-fixes
open-junius Apr 9, 2024
ba16ece
Merge pull request #302 from opentensor/junius/connect-grandpa-rpc
open-junius Apr 9, 2024
d9793e0
Fixing README, updating running subtensor locally in docs directory, …
Apr 11, 2024
53cd822
merge with development
open-junius Apr 11, 2024
55f5a02
fix clippy
open-junius Apr 11, 2024
0fc6100
Adding a link to lite node vs archive node section
Apr 11, 2024
1e6166d
Fixing a link
Apr 11, 2024
58baa50
Merge pull request #316 from opentensor/rajk/fixing-README
Apr 11, 2024
e9841b9
set root weights with coldkey
JohnReedV Apr 11, 2024
0c7dc6c
fix benchmarks
JohnReedV Apr 11, 2024
ad43983
add deposit method
open-junius Apr 12, 2024
622b5b3
sort dep in cargo
open-junius Apr 12, 2024
71ae6fa
Update instructions about running subtensor node locally
gregzaitsev Apr 12, 2024
553d772
Fixes bootnode ID for docker containers
Apr 12, 2024
5258650
Merge pull request #322 from opentensor/fix_bootnode_key
sam0x17 Apr 12, 2024
f6abb50
Merge pull request #317 from opentensor/set_root_weights_with_coldkey
sam0x17 Apr 12, 2024
9574782
Merge pull request #321 from opentensor/doc/update-running-locally
distributedstatemachine Apr 12, 2024
ac532a8
feat: PR template update
Apr 13, 2024
2f9bdc7
Merge pull request #323 from opentensor/feat/pr_template_update
distributedstatemachine Apr 15, 2024
a13316c
chore: move pr template
Apr 15, 2024
4398c23
Revert "set root weights with coldkey"
distributedstatemachine Apr 15, 2024
184c1b2
Merge pull request #330 from opentensor/revert-317-set_root_weights_w…
distributedstatemachine Apr 15, 2024
d468fa2
Update scripts/install_rust.sh
distributedstatemachine Apr 15, 2024
ec19d8f
Update scripts/install_rust.sh
distributedstatemachine Apr 15, 2024
8c027c1
Update scripts/install_rust.sh
distributedstatemachine Apr 15, 2024
7eafa0b
Update scripts/install_rust.sh
distributedstatemachine Apr 15, 2024
1282cc0
Merge pull request #327 from opentensor/fix/localnet_setup
distributedstatemachine Apr 15, 2024
d4a1afb
chore: clippy lints
Apr 15, 2024
29e79bc
chore: test lints
Apr 15, 2024
5a979d9
chore: fmt
Apr 15, 2024
9799192
chore: pr reviews
Apr 16, 2024
ed24984
chore: fix broken test , add just file
Apr 16, 2024
4072973
chore: remove default from justfile , lint
Apr 16, 2024
a354d02
Merge pull request #328 from opentensor/chore/clippy_lints
distributedstatemachine Apr 16, 2024
e9aea6d
fix: propagate features
orriin Apr 16, 2024
f5d9d53
feat: feature prop ci check
orriin Apr 16, 2024
61f9268
fix: ci job name
orriin Apr 16, 2024
efc4cb1
update storage weights
open-junius Apr 16, 2024
c9249b9
Merge branch 'development' into add-proxy-pallet
open-junius Apr 16, 2024
1f320bc
Merge pull request #286 from opentensor/add-proxy-pallet
open-junius Apr 16, 2024
b310e93
Merge pull request #333 from opentensor/fix/propagate-features
sam0x17 Apr 16, 2024
7faf8c3
accounts migration
orriin Apr 16, 2024
f45cf30
Merge branch 'development' into feat/accounts-migration
orriin Apr 16, 2024
45efea1
chore: improve log
orriin Apr 16, 2024
7c1c900
fix: improve post_upgrade
orriin Apr 16, 2024
f3afe83
fix: fmt
orriin Apr 16, 2024
3c46699
Merge pull request #337 from opentensor/feat/accounts-migration
sam0x17 Apr 17, 2024
8aa1cca
fix: account migration
orriin Apr 17, 2024
64c4d3e
Fix: --ws-port in longer a valid flag
synthpolis Apr 17, 2024
894f4c2
Merge pull request #339 from synthpolis/fix/localnet-init-script
distributedstatemachine Apr 18, 2024
ca4abd9
add proxy pallet test in runtime
open-junius Apr 18, 2024
2facdcd
update lock file
open-junius Apr 18, 2024
922a4ad
fix compile warning
open-junius Apr 18, 2024
e7c37fd
handle std
open-junius Apr 18, 2024
f461d83
Update runtime/src/migrations.rs
orriin Apr 18, 2024
86b0a85
rearrange mod structure
orriin Apr 18, 2024
be93b9a
Merge pull request #338 from opentensor/fix/account-migration
sam0x17 Apr 18, 2024
57d1ed6
optimize tests
open-junius Apr 19, 2024
eaba6de
merge development
open-junius Apr 19, 2024
e131e56
set test name
open-junius Apr 19, 2024
ad552cc
fix clippy
open-junius Apr 19, 2024
e079195
cargo fix
open-junius Apr 19, 2024
cfe75fc
fix error
open-junius Apr 19, 2024
3dc87b3
fix warning
open-junius Apr 19, 2024
e91aa71
fix warning
open-junius Apr 19, 2024
9b11d0a
no need pub
open-junius Apr 19, 2024
9051fed
Merge pull request #340 from opentensor/runtime-test
open-junius Apr 19, 2024
926e4f6
fix: try-runtime checks
orriin Apr 19, 2024
700f29b
fix: try-runtime
orriin Apr 19, 2024
2a76efb
fix: comment
orriin Apr 19, 2024
4c2d3e3
add try-runtime ci
orriin Apr 19, 2024
5dc9a1a
fix: adds production profile
orriin Apr 19, 2024
5dc4c79
ci names
orriin Apr 19, 2024
a2110af
fix: migrations
orriin Apr 19, 2024
9547a52
Merge pull request #343 from opentensor/fix/try-runtime
sam0x17 Apr 23, 2024
99d9ba1
fix a wrong comment
open-junius Apr 23, 2024
198b93e
test case for new error
open-junius Apr 23, 2024
0d94a60
add test cases
open-junius Apr 23, 2024
95d9277
remove wrong comments
open-junius Apr 23, 2024
35af8ab
Merge remote-tracking branch 'origin/main' into development
sam0x17 Apr 23, 2024
9ea22c4
fix typos and warnings
sam0x17 Apr 23, 2024
97a207a
cargo clippy
sam0x17 Apr 23, 2024
00464d4
fix warning in issuance test
JohnReedV Apr 23, 2024
56e0185
reintroduce step
JohnReedV Apr 23, 2024
aea45a7
feat: merge testnet changes
orriin Apr 24, 2024
5f9a9e0
fix: comment
orriin Apr 24, 2024
b53c33e
cargo fix --workspace
sam0x17 Apr 24, 2024
a224692
Merge pull request #366 from opentensor/feat/merge-testnet-changes
sam0x17 Apr 24, 2024
bd99247
update function name
open-junius Apr 25, 2024
d44ea6e
Merge pull request #358 from opentensor/fix-wrong-comments
open-junius Apr 25, 2024
487054c
Merge pull request #362 from opentensor/fix-issuance-test-warning
sam0x17 Apr 25, 2024
036ad91
chore: clippy and rustc 1.77.2
orriin Apr 25, 2024
f6294eb
merge
orriin Apr 26, 2024
4c63615
remove u64_to_balance
orriin Apr 28, 2024
20c51d0
fix: more clippy warnings
orriin Apr 28, 2024
70ba6d9
fix: more clippy warnings
orriin Apr 28, 2024
3b9dee8
Merge branch 'chore/clippy' of github.com:opentensor/subtensor into c…
orriin Apr 28, 2024
96144e9
fix: more clippy warnings
orriin Apr 28, 2024
3aa9975
fix: more clippy warnings
orriin Apr 28, 2024
53284cf
Merge branch 'chore/clippy' of github.com:opentensor/subtensor into c…
orriin Apr 28, 2024
fffd2ed
fix: more clippy lints
orriin Apr 28, 2024
2489a6f
ci: add clippy check
orriin Apr 28, 2024
115ebe3
Update pallets/subtensor/src/registration.rs
orriin Apr 28, 2024
e8f6f6d
fix: remove redundant comment
orriin Apr 28, 2024
5800530
Merge branch 'chore/clippy' of github.com:opentensor/subtensor into c…
orriin Apr 28, 2024
93de2c5
fix: fmt
orriin Apr 28, 2024
904662c
fix: fmt
orriin Apr 28, 2024
c933675
ci: remove redundant job
orriin Apr 28, 2024
0288a73
Merge pull request #371 from opentensor/chore/clippy
orriin Apr 29, 2024
fe5c89f
Merge remote-tracking branch 'origin/main' into development
sam0x17 Apr 29, 2024
cd08289
fix: reject registrations only after 3 times target
camfairchild Apr 29, 2024
d0043b5
upped spec version
shibshib Apr 29, 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
22 changes: 0 additions & 22 deletions .github/PULL_REQUEST_TEMPLATE/add-feature.md

This file was deleted.

21 changes: 0 additions & 21 deletions .github/PULL_REQUEST_TEMPLATE/fix-bug.md

This file was deleted.

47 changes: 47 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## Description
<!--
Please provide a brief description of the changes introduced by this pull request.
-->


## Related Issue(s)

- Closes #[issue number]

## Type of Change
<!--
Please check the relevant options:
-->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update
- [ ] Other (please describe):

## Breaking Change

If this PR introduces a breaking change, please provide a detailed description of the impact and the migration path for existing applications.

## Checklist

<!--
Please ensure the following tasks are completed before requesting a review:
-->

- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have run `cargo fmt` and `cargo clippy` to ensure my code is formatted and linted correctly
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules

## Screenshots (if applicable)

Please include any relevant screenshots or GIFs that demonstrate the changes made.

## Additional Notes

Please provide any additional information or context that may be helpful for reviewers.
Loading