Closed VictorTrustyDev closed 1 year ago
One out-topic suggestion:
Based on @mtsitrin answer here
I think you should wrap the staking module and override methods so rollapp can returns set of validators when query smt like rollapp_evm q staking validators
(it returns empty atm).
Why? It is easier for existing apps to integrate with your products (and your users's production) without modifying much.
For example if a block explorer wants to query validators set of a roll app, it has to custom query to adapt.
An additional question: by removal of slashing module, how can we know a validator/sequencer uptime? Because validator can be slash due to downtime or violating double sign rule,... and the number has been calculated from signing info & slashing params.
Hi @VictorTrustyDev
You've tried to delegate to a sequencer
(i.e sequencer
module, defined on Dymension Hub),
instead of a staker
(i.e staking
module)
You can create a validator using tx staking create-validator ...
then u will be able to delegate to it
We did the separation of the modules on purpose.
Sequencers
are for block production, based on the sequencer registered on the Hub
Stakers
are for "power management" on the rollapp, based on bond on the rollapp
regarding the uptime, it can be correlated from the settlement on the Hub
I see, let me try it again. Tysm
I got validator address from here
Which is ethmvaloper1k9uvtqy2d2vkjn22lvqeyapfn9mz37ls7urn3r
I tried to stake (amount equals 0.9 ETH)
I got tx error
failed to execute message; message index: 0: validator does not exist
. It said validator does not exists so I tried to query the sequencer again, it does exists: