final deployment of rao to mainnet 2/6/2025#1253
Merged
garrett-opentensor merged 696 commits intomainfrom Feb 13, 2025
Merged
Conversation
Ban saturating_div, to_num, and from_num
…n-hk-swap Fix/swap pending childkeys on hk swap
use rem root alpha
devnet deploy 1/27/2025
testnet deploy 1/27/2025
Co-authored-by: Cameron Fairchild <cameron@opentensor.ai>
Co-authored-by: Cameron Fairchild <cameron@opentensor.ai>
Safety brackets for liquidity pools
[RAO Ugrade] Devnet-ready -> Devnet
add moving price to metagraph
* use correct min brun init * fmt * no into * no into 2 * bump spec
[RAO Upgrade] devnet-ready -> devnet
testnet deploy 2/7/2025
cargo update 2/7/2025
devnet deploy 2/7/2025 number 2
testnet deploy 2/7/2025 number two
moving price init from emission
devnet deploy again
testnet deploy 2/7/2025 again again again
…gration DefaultMinimumPoolLiquidity and tempos in rao migration
bdmason
reviewed
Feb 10, 2025
| netuid_to_register, | ||
| mechid | ||
| ); | ||
| Self::deposit_event(Event::NetworkAdded(netuid_to_register, 0)); |
Contributor
There was a problem hiding this comment.
This second parameter should be using the mechid variable else the information from the emitted events will be wrong.
Contributor
There was a problem hiding this comment.
thanks. will add into devnet-ready for the next runtime upgrade (after dTAO)
cuteolaf
reviewed
Feb 11, 2025
| #[pallet::storage] // --- MAP ( netuid ) --> alpha_out_emission | Returns the amount of alpha out emission into the network per block. | ||
| pub type SubnetAlphaOutEmission<T: Config> = | ||
| StorageMap<_, Identity, u16, u64, ValueQuery, DefaultZeroU64<T>>; | ||
| #[pallet::storage] // --- MAP ( netuid ) --> tao_in_emission | Returns the amount of tao emitted into this subent on the last block. |
Contributor
There was a problem hiding this comment.
Suggested change
| #[pallet::storage] // --- MAP ( netuid ) --> tao_in_emission | Returns the amount of tao emitted into this subent on the last block. | |
| #[pallet::storage] // --- MAP ( netuid ) --> tao_in_emission | Returns the amount of tao emitted into this subnet on the last block. |
Comment on lines
+1060
to
+1064
| pub type TokenSymbol<T: Config> = | ||
| StorageMap<_, Identity, u16, Vec<u8>, ValueQuery, DefaultUnicodeVecU8<T>>; | ||
| #[pallet::storage] // --- MAP ( netuid ) --> subnet_name | Returns the name of the subnet. | ||
| pub type SubnetName<T: Config> = | ||
| StorageMap<_, Identity, u16, Vec<u8>, ValueQuery, DefaultUnicodeVecU8<T>>; |
Contributor
There was a problem hiding this comment.
It is recommended to use BoundedVec for storage items like these
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's Changed