-
Notifications
You must be signed in to change notification settings - Fork 253
final deployment of rao to mainnet 2/6/2025 #1253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
| netuid_to_register, | ||
| mechid | ||
| ); | ||
| Self::deposit_event(Event::NetworkAdded(netuid_to_register, 0)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This second parameter should be using the mechid variable else the information from the emitted events will be wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks. will add into devnet-ready for the next runtime upgrade (after dTAO)
| #[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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #[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. |
| 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>>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is recommended to use BoundedVec for storage items like these
What's Changed