Skip to content

testnet deploy 5/15/2025 #1644

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

Merged
merged 25 commits into from
May 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a3af33a
Add rustdocs to GH workflow
keithtensor May 12, 2025
9f9426b
Change build machine to SubtensorCI
keithtensor May 12, 2025
bd08ad4
Update .github/workflows/rustdocs.yml
keithtensor May 13, 2025
82f342e
Update .github/workflows/rustdocs.yml
keithtensor May 13, 2025
f8f0aef
multiple fields
JohnReedV May 13, 2025
63da433
multiple fields tests
JohnReedV May 13, 2025
5c718cc
increase limit
JohnReedV May 13, 2025
e81010c
clippy
JohnReedV May 13, 2025
fb2e935
bump spec
JohnReedV May 13, 2025
0fd75af
Add workflow dispatch to trigger workflow
keithtensor May 14, 2025
1aef843
Merge pull request #1633 from opentensor/Multiple-Fields-Per-Commitment-
sam0x17 May 14, 2025
0b5dcc7
add BigRaw
JohnReedV May 14, 2025
2290f1e
update tests for BigRaw
JohnReedV May 14, 2025
33c4124
fmt
JohnReedV May 14, 2025
68af465
fix test
JohnReedV May 14, 2025
3f510c7
update comments
JohnReedV May 14, 2025
6597e3c
clippy
JohnReedV May 14, 2025
9d6117f
Bump spec version
keithtensor May 15, 2025
c1c8fd0
Disable aggregated extrinsics.
shamil-gadelshin May 15, 2025
b7d7b08
Remove fee payment for associate_evm_key
keithtensor May 15, 2025
232dd4c
Merge pull request #1640 from opentensor/remove-associate-evm-keys-fee
keithtensor May 15, 2025
efd2898
Merge pull request #1641 from opentensor/comment-aggregated-stake-ext…
sam0x17 May 15, 2025
5e76180
Merge pull request #1625 from opentensor/rustdocs
sam0x17 May 15, 2025
fbc809d
Merge pull request #1638 from opentensor/Add-BigRaw-Commitments-Variant
sam0x17 May 15, 2025
9fe7c7d
Merge pull request #1642 from opentensor/devnet-ready
sam0x17 May 15, 2025
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
60 changes: 60 additions & 0 deletions .github/workflows/rustdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Publish rustdocs

on:
push:
branches:
- main
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: SubtensorCI

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install rustup
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Generate documentation
uses: actions-rs/cargo@v1
with:
command: doc
args: --document-private-items

- name: Fix file permissions
shell: sh
run: |
chmod -c -R +rX "target/doc" |
while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Generate index.html file
run: |
echo "<meta http-equiv=refresh content=0;url=wasm_oidc_plugin/index.html>" > target/doc/index.html
- name: Upload documentation
uses: actions/upload-pages-artifact@v1
with:
path: ./target/doc

deploy:
needs: build
runs-on: SubtensorCI

permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.pages.outputs.page_url }}

steps:
- name: Deploy documentation
id: pages
uses: actions/deploy-pages@v2
8 changes: 4 additions & 4 deletions pallets/commitments/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub mod pallet {
/// Because this pallet emits events, it depends on the runtime's definition of an event.
type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;

/// Currency type that will be used to place deposits on neurons
///Currency type that will be used to reserve deposits for commitments
type Currency: ReservableCurrency<Self::AccountId> + Send + Sync;

/// Weight information for extrinsics in this pallet.
Expand All @@ -71,11 +71,11 @@ pub mod pallet {
#[pallet::constant]
type FieldDeposit: Get<BalanceOf<Self>>;

/// Used to retreive the given subnet's tempo
/// Used to retrieve the given subnet's tempo
type TempoInterface: GetTempoInterface;
}

/// Used to retreive the given subnet's tempo
/// Used to retrieve the given subnet's tempo
pub trait GetTempoInterface {
/// Used to retreive the epoch index for the given subnet.
fn get_epoch_index(netuid: u16, cur_block: u64) -> u64;
Expand Down Expand Up @@ -113,7 +113,7 @@ pub mod pallet {
pub enum Error<T> {
/// Account passed too many additional fields to their commitment
TooManyFieldsInCommitmentInfo,
/// Account is not allow to make commitments to the chain
/// Account is not allowed to make commitments to the chain
AccountNotAllowedCommit,
/// Space Limit Exceeded for the current interval
SpaceLimitExceeded,
Expand Down
Loading
Loading