Skip to content

Has this been updated to handle dTao? #20

@tensorslaive

Description

@tensorslaive

It appears that some of the shovels have not been updated since the introduction of dTao. For example the shovel_stake_map is still trying to use the "Stake" storage, which no longer exists:

shovel_stake_map         | thread '<unnamed>' panicked at src/lib.rs:76:10:                                                 
shovel_stake_map         | called `Result::unwrap()` on an `Err` value: Metadata(StorageEntryNotFound("Stake"))             
shovel_stake_map         | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace                    
  0% 0/5727418 [00:22<?, ?it/s]                                                                                             
shovel_stake_map         | Traceback (most recent call last):                                                               
shovel_stake_map         |   File "/app/shovel_stake_map/main.py", line 221, in <module>                                    
shovel_stake_map         |     main()                                                                                       
shovel_stake_map         |   File "/app/shovel_stake_map/main.py", line 217, in main                                        
shovel_stake_map         |     StakeDoubleMapShovel(name="stake_double_map").start()                                        
shovel_stake_map         |   File "/app/shared/shovel_base_class.py", line 114, in start                                    
shovel_stake_map         |     self.process_block(block_number)                                                             
shovel_stake_map         |   File "/app/shovel_stake_map/main.py", line 54, in process_block                                
shovel_stake_map         |     do_process_block(n, self.table_name)                                                         
shovel_stake_map         |   File "/app/shovel_stake_map/main.py", line 179, in do_process_block                            
shovel_stake_map         |     r = rust_bindings.query_hotkeys_stakes(                                                      
shovel_stake_map         |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                      
shovel_stake_map         | pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value: Metadata(StorageEntryNotFound("Stake"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions