Release v1.1.0-pre-release
v1.1.0-pre-release
Published
2024-05-29 22:28:12
Generated
from tables
总 PR
275
HIGH
0
MEDIUM
2
Stage2
2
交叉验证
两边确认40
仅分析映射235
仅 Release Notes1
仅分析映射:#1#2#3#7#8#9#10#12#13#14#15#16#18#19#20#22#23#24#25#26#27#28#29#30#31#32#33#34#35#36#37#38#39#40#41#42#43#44#45#46#47#48#49#50#51#52#53#54#55#57#58#59#60#61#62#63#64#65#66#67#68#69#70#72#73#74#75#76#77#78#79#80#81#82#83#84#85#86#87#89#90#91#92#93#94#95#96#97#98#99#100#101#102#104#105#106#107#109#112#113#114#116#118#119#120#121#122#123#124#125#126#127#128#129#131#132#133#134#135#136#137#138#139#140#142#143#144#145#146#147#149#152#153#158#161#162#164#165#166#167#168#169#170#178#180#182#184#185#187#188#189#190#191#192#196#198#201#202#205#206#208#209#210#211#214#215#218#221#222#224#225#229#233#234#237#240#242#244#249#250#251#252#253#254#259#260#263#264#265#266#284#285#286#287#290#291#292#299#302#316#317#321#322#323#327#328#330#333#335#337#338#340#343#355#357#358#361#362#366#368#369#371#372#377#378#379#380#382#383#386#391#397#398#399#408
仅 Release Notes:#474
MEDIUM 更新 (2)
将 subtensor pallet 集成到运行时并启用基准测试
判级:引入新核心功能但未修改现有逻辑或资金/共识路径,属于新增而非风险变更
关键改动
- runtime/src/lib.rs: 实现 pallet_subtensor::Config,配置30+初始参数(rho、kappa、emission、权重等)
- runtime/src/lib.rs: 在 construct_runtime! 中添加 Subtensor pallet,分配索引41
- runtime/src/lib.rs: 在基准测试列表中加入 pallet_subtensor/Subtensor
- runtime/Cargo.toml: 将 frame-benchmarking 从可选依赖改为强制依赖(移除 ?)
- pallets/subtensor/Cargo.toml: 同样将 frame-benchmarking 改为强制依赖
从 Nakamoto 网络导出账户余额和质押数据,加载到 Finney 链的创世块中
判级:改动涉及 genesis 层直接写入大量资金和质押数据,虽非运行时核心逻辑变更,但对主网启动安全影响重大,需严格审查数据源和内存使用
关键改动
- node/Cargo.toml: 新增 serde、memmap2、serde_json 依赖,用于高性能解析 JSON 文件
- node/src/chain_spec.rs: finney_config() 从 nakamoto_gen.json 中读取 stakes 和 balances,并传递给 finney_genesis;finney_genesis 函数现在接收 stake/balance 参数,并构造 SubtensorModuleConfig 和 BalancesConfig;testnet_genesis 也相应调整参数
- pallets/subtensor/src/lib.rs 中的 genesis 宏: 新增 GenesisConfig 结构体(包含 stakes 字段)和 genesis_build 实现;在 build 中初始化 netuid=3 的子网参数(tempo=99, max_uids=4096 等),并为每个 stake 条目注册 neuron(设置 Keys, Uids, Owner, Stake 等存储),确保创世块中包含所有 Nakamoto 账户的质押关系
LOW (1)
添加tarpaulin代码覆盖率脚本和忽略文件,用于CI/CD
判级:该PR仅添加了代码覆盖率工具(tarpaulin)的脚本和忽略文件,属于CI/CD/开发工具改进,不影响链上状态、共识或经济逻辑。
未分析 (272)
#7
Fix custom rpc
MERGED
#8
load balance for sudo account.
MERGED
#9
Add scripts to install and run local networks for testing
MERGED
#10
Refactor local-net Bash scripts
MERGED
#12
:broom: Fix warnings for missing docs
MERGED
#13
:broom: Fix warnings for unused assignments
MERGED
#14
:broom: Fix spelling and documentation examples
MERGED
#15
:shell: Fix shellcheck warnings...
MERGED
#16
:white_check_mark: Add more math unit tests
MERGED
#18
fix benchmarking.
MERGED
#19
Set weights to 0 and added development chain spec
MERGED
#20
Generic rate limiting for TXs
MERGED
#22
[BIT-632] Update Active in epoch
MERGED
#23
Added apt update call first
MERGED
#24
fixed setting max burn.
MERGED
#25
Use old uids from nakamoto in finney genesis
MERGED
#26
Add tests for neuron info pallet
MERGED
#27
[BIT-633] Fix tests (partial)
MERGED
#28
[BIT-631] Stake-weighted median consensus
MERGED
#29
Add `node/` tests for `chain_spec`
MERGED
#30
[BIT-634] Epoch cleanup: Remove WeightConsensus, WeightCuts
MERGED
#31
Custom rpc return vec u8
MERGED
#32
Return true in passes_rate_limit functions if no previous info found
MERGED
#33
fixed failing unit tests and debugged burn registration.
MERGED
#34
🐳 Started dockerfile setup
MERGED
#35
add benchmarks for burn registration.
MERGED
#36
[BIT-635] Use active_stake for consensus
MERGED
#37
Axon/prometheus rate limit per subnet
MERGED
#38
Fix total issuance tracking in genesis
MERGED
#39
Utilize Git hooks for automating checks and tests
MERGED
#40
Fixes benchmark tests
MERGED
#41
Update localnet script to emulate finney deployment
MERGED
#42
Custom rpc scale codec
MERGED
#43
Update default rate limit config
MERGED
#44
Update hyperparams to mirror nakamoto defaults
MERGED
#45
Fix all tests related to axon/prom serving rate limit
MERGED
#46
Add burn to subnetinfo
MERGED
#47
Add more delegate info to RPC
MERGED
#48
don't use compact for network connect
MERGED
#49
Change estimate calc to use tempo
MERGED
#50
Add tokenSymbol, tokenDecimals, ss58Format to chain specs automatically
MERGED
#51
Add neuron info lite RPCs
MERGED
#52
Add delegated rpc
MERGED
#53
Fix TotalIssuance tracking to include wallet balances
MERGED
#54
check immunity period while identifying pruning neuorn.
MERGED
#55
Track hyperparameter changes
MERGED
#57
Sudo key set
MERGED
#58
Update initial hyperparameters for launch
MERGED
#59
Disable registrations for Finney launch
MERGED
#60
Snapshot of nakamoto at block 3606775
MERGED
#61
Sets new spec file to be used in finney mainnet
MERGED
#62
updated spec files
MERGED
#63
Fix div-by-zero
MERGED
#64
fixed docker compose
MERGED
#65
Fixed total issuance setting
MERGED
#66
Update validator hyperparams
MERGED
#67
Fixed chain specs
MERGED
#68
Increased block weights to 4 seconds of compute
MERGED
#69
Dont return nominators with zero stake
MERGED
#70
[Epoch Improvement] Use only validator stake in epoch
MERGED
#72
Added finney testnet
MERGED
#73
Update hyperparameters.md setblock times
MERGED
#74
Added test finney specs and fixed tx fees
MERGED
#75
enable registration.
MERGED
#76
Added signedextensions to runtime
MERGED
#77
Add TooManyRegistrationsThisInterval error for registration
MERGED
#78
Per-subnet registration allowance
MERGED
#79
Optimize (re-)build time via dependency caching
MERGED
#80
Store the total recycled RAO
MERGED
#81
Increase burn and difficulty hyperparams
MERGED
#82
Set last tx block for rate limiting
MERGED
#83
Fix testing to account for 2 block rate limiting
MERGED
#84
Optimize code coverage collection
MERGED
#85
Fix various tests
MERGED
#86
Add testing for TargetRegistrationsPerInterval
MERGED
#87
fixed registration_difficulty_adjustment test.
MERGED
#89
Update hyperparameters.md
MERGED
#90
TX limit check fix for AddStake
MERGED
#91
ValidatorExcludeQuantile = 5%
MERGED
#92
Fix validator exclude quantile check
MERGED
#93
changed min burn to 1 tao in hyperparameter file.
MERGED
#94
add sudo call to set tempo.
MERGED
#95
[BIT-638] Max-upscale pruning_scores
MERGED
#96
Add more `weights.rs` unit tests
MERGED
#97
Fix some tests, change mock balance to u64, add staking test
MERGED
#98
Removed unnecessary test functions from critical path
MERGED
#99
[BIT-104] Max-upscale weights
MERGED
#100
Add call indices
MERGED
#101
Unstake on dereg
MERGED
#102
Move bench functions
MERGED
#104
Publish Git Tag (+ Rust target) as GitHub Release
MERGED
#105
add collective pallet.
MERGED
#106
[BIT-212] Record hyperparameters for netuid 1
MERGED
#107
now POW is hotkey specific.
MERGED
#109
Modify new reg code
MERGED
#112
Allow for newer version_keys >= WeightsVersionKey
MERGED
#113
now accountId type is U256 in test env and all test cases support it.
MERGED
#114
Check for BenchmarkingOnly error on tests
MERGED
#116
Delegates keep server emissions
MERGED
#118
increased priority for set_weight call.
MERGED
#119
fix: typos in storage item declarations
MERGED
#120
Updating docker-compose.yaml - Using dns for bootnodes address
MERGED
#121
Bump h2 from 0.3.15 to 0.3.18
MERGED
#122
Bump wasmtime from 6.0.1 to 6.0.2
MERGED
#123
:facepalm: Run tests when Cargo configs change too
MERGED
#124
:facepalm: fix cd/cd fix check rust paths
MERGED
#125
add utility pallet into runtime
MERGED
#126
Update localnet_setup.sh perms to +rx
MERGED
#127
Eliminate compiler warnings for deadcode & unused imports/variables
MERGED
#128
:memo: Draft templates for Pull Requests
MERGED
#129
ignore failing total issuance tests
MERGED
#131
[BIT-104] Max-upscale bonds
MERGED
#132
:bug: Fix looping over recently changed files
MERGED
#133
Benchmark extrinsics
MERGED
#134
[BIT-318] Registration hotkey match origin
MERGED
#135
[BIT-325] Disallow <= 0 in port argument of serve_* functions
MERGED
#136
[BIT-324] Handle DispatchError result using ensure! over panic!
MERGED
#137
Update hyperparams emission values
MERGED
#138
Fix burn calc
MERGED
#139
Updates hyperparams on netuid 1
MERGED
#140
update project info
MERGED
#142
Allow max UIDs to be lower if subnetworkn is below new max
MERGED
#143
Fix arithmetic comparison in max_allowed_uids subnetworkn check
MERGED
#144
Add proj toolchain conf, localnet mkdir and peer auto discovery
MERGED
#145
Fix max-uids decrease test and add Jira ticket commit msg script
MERGED
#146
update version key for netuid 1
MERGED
#147
BIT-350: Fix git hooks when using git UI tools
MERGED
#149
Decrease max weight limit
MERGED
#152
Add Multisignature pallet to runtime
MERGED
#153
Add local chain to chain_spec for fast testing with localnet
MERGED
#158
Adjusts POW and BURN based on a moving average (clean)
MERGED
#161
Add per-proposal motion duration argument
MERGED
#162
Remove husky hooks for pre-push, pre-commit, post-commit
MERGED
#164
Add scheduler pallet to runtime
MERGED
#165
Prevent unstake call from allowing zero amount
MERGED
#166
Remove senate instance of collective pallet
MERGED
#167
Remove unused validator-related hyperparameters
MERGED
#168
Up DefaultWeightsSetRateLimit -> 100
MERGED
#169
Cargo fix run, eliminating all compiler warnings
MERGED
#170
Run cargo fmt on workspace
MERGED
#178
Fix failing pending emission test
MERGED
#180
Fix decrease TotalColdkeyStake in block_step_decrease
MERGED
#182
Add runtime api for stake
MERGED
#184
Fix total stake maps via migration
MERGED
#185
version key update
MERGED
#187
User-created subnets
MERGED
#188
Re-enable faucet with conditional compilation
MERGED
#189
POW Registration allowance/disallowance
MERGED
#190
Make the multisig deposit requirement reasonable
MERGED
#191
Identity system for Subnets and Root-validators
MERGED
#192
Allow swap of hotkeys on registered coldkeys
MERGED
#196
Remove maximum bounds on subnet immunity period
MERGED
#198
Refactor subnet pruning mechanism
MERGED
#201
Update initial registry fee to 0.1 TAO
MERGED
#202
Fix broken test registry/types/manual_data_type_info
MERGED
#205
Move sudo_* + corresponding unit tests functions to seperate pallet
MERGED
#206
Enable hotkey swapping
MERGED
#208
Add missing hyperparams serving_rate_limit & max_validators to listing
MERGED
#209
Remove old Y1 hyperparam extrinsics, limit some subnet hyperparams access
MERGED
#210
Localnet/specify init wallet balance
MERGED
#211
Add metadata commitment pallet
MERGED
#214
Add a SignedExtension to completely disable tx fees on commitments
MERGED
#215
[README] Yuma Consensus
MERGED
#218
Add missing dockercompose definitions for subtensor
MERGED
#221
Decrease docker size and add script run subtensor
MERGED
#222
Fix link in the README
MERGED
#224
#219 fix docker-compose file for testnet nodes
MERGED
#225
Github Issues config
MERGED
#229
Modify scripts/benchmark.sh to receive binary path and ensures it exists before 'node-subtensor' execution
MERGED
#233
Update docker-compose.yml: new testnet bootnode ID
MERGED
#234
fix: readme formatting
MERGED
#237
Adding a note on installing on cloud
MERGED
#240
Automatically set 0 to deregistered subnets
MERGED
#242
Weights min stake
MERGED
#244
Fixing broken link
MERGED
#249
Adds new power to Subnet owners.
MERGED
#250
Fixed netuid event deposited
MERGED
#251
Allow the setting of specific subnet hyperparameters on chain.
MERGED
#252
upgrade to polkadot 1.0
MERGED
#253
cargo fmt + require cargo fmt to pass in CI
MERGED
#254
Adds a migration to reset the Total Issuance value
MERGED
#259
fix weights issue
MERGED
#260
Downgrade Spec Version
MERGED
#263
updating bootnode domain for docker compose nodes
MERGED
#264
Brings spec version to 144, latest current one on main chain
MERGED
#265
Remove profile section in runtime/Cargo.toml
MERGED
#266
Add clippy check to CI
MERGED
#284
tiny fixes & improvements
MERGED
#285
Registrations signed extension filtering
MERGED
#286
Add proxy pallet
MERGED
#287
Add rate limit on staking transactions
MERGED
#290
Emission schedule
MERGED
#291
fix CI not running on develop, etc
MERGED
#292
remove paths constraint from CI
MERGED
#299
tiny fixes
MERGED
#302
connect grandpa rpc
MERGED
#316
Fixing README and subtensor node install instructions
MERGED
#317
set root weights with coldkey
MERGED
#321
Update instructions about running subtensor node locally
MERGED
#322
Fixes bootnode ID for docker containers
MERGED
#323
feat: PR template update
MERGED
#327
chore: replace localnet_setup with rust installation
MERGED
#328
Chore/clippy lints
MERGED
#330
Revert "set root weights with coldkey"
MERGED
#333
fix: feature propagation
MERGED
#335
Add set_root_weights()
MERGED
#337
fix: account data migration
MERGED
#338
fix: account migration
MERGED
#339
Fix: Remove invalid flag from localnet start script
MERGED
#340
add proxy pallet test in runtime
MERGED
#343
fix: try-runtime
MERGED
#355
modify stake rate limit
MERGED
#357
Increase base transaction fee to 0.00012 TAO
MERGED
#358
Correct a comment and an error
MERGED
#361
hotfix: minimum nominator stake
MERGED
#362
fix warning in issuance test
MERGED
#364
Update old script arguments --ws-external and --ws-max-connections
MERGED
#366
feat: merge testnet changes
MERGED
#368
merge `sam-devnet-tmp` to `main`
MERGED
#369
Ban direct indexing
MERGED
#371
chore: clippy
MERGED
#372
Fix migration order, comment on_runtime_upgrade
MERGED
#377
fix: reject registrations only after 3 times target
MERGED
#378
Revert "fix: reject registrations only after 3 times target"
MERGED
#379
Fix hotregs shib
MERGED
#380
Add increase_take and decrease_take extrinsics, rate limiting, and tests
MERGED
#382
hotfix: allow unstake below the min nom threshold when unstaking entire stake
MERGED
#383
hotfix: const adjustment
MERGED
#386
fix: fix slow proxy test
MERGED
#387
Upgrade to polkadot-sdk-v1.10.0
MERGED
#390
update comments
MERGED
#391
Fix the metadata
MERGED
#396
Commit-Reveal Weights
MERGED
#397
fix: genesis config builder
MERGED
#398
ci: clippy deny warnings
MERGED
#399
Change minimum take to 18%
MERGED
#400
Documentation improvement for runtime
MERGED
#404
fix pays no check
MERGED
#406
Reserved test nodes
MERGED
#407
fix: bump testnet spec version
MERGED
#408
fix: bump development spec version
MERGED
#409
Added reserved nodes to docker compose to ensure sync with validator
MERGED
#410
Junius/fix faucet calc
MERGED
#413
feat: allow invoking localnet.sh from anywhere
MERGED
#415
Normalise weights in Root Epoch Calculation
MERGED
#423
test dissolve_network
MERGED
#424
fix benchmarks
MERGED
#427
fix: localnet pow-faucet feature
MERGED
#429
Remove more direct indexing
MERGED
#432
add sudo calls & tests
MERGED
#433
Improve errors definition and docs
MERGED
#434
feat: e2e bittensor tests
MERGED
#442
fix finney deploy merge conflicts 5/20/2024
MERGED
#450
chore: use staging branch e2e tests
MERGED
#451
feat: min take 9%
MERGED
#459
chore: remove applied migrations
MERGED
#460
Fix wrong raw spec
MERGED
#462
[Fix] allow unstake below nom limit
MERGED
#463
[Fix] fix reg interval too short
MERGED
#464
Hotfix/reapply before testnet merge
MERGED
#470
Fix spec in dev
MERGED
#471
Fix spec testnet
MERGED
#475
Backport/dev no registration no emission
MERGED
#476
Backport/testnet no registration no emission
MERGED
#478
Add salt to weights commit-reveal
MERGED
#479
feat: bad blocks chain extension
MERGED
#480
Enable exponential backoff for AuRa
MERGED
#481
feat: localnet fast blocks
MERGED
#483
add set_target_stakes_per_interval extrinsic
MERGED
#484
Add event and unit test for stakes interval set
MERGED
#491
Testnet Deployment 290524
MERGED
#492
Testnet 290524
MERGED