Open Proskhmer08 opened 3 weeks ago
hey, thanks for such a thorough issue
shouldn't it use the previous relayer hub key?
good point, will be added, created a separate issue to track: #1104
I tried the export feature, roller rollapp sequencer metadata export, but it gave me the error because there's no init directory. Here's the error msg for that: ERROR failed to export metadata error writing to file: open /home/ubuntu/.roller/rollapp/init/sequencer-metadata.json: no such file or directory
was under the impression that roller
creates init during export. Fixed in #1105
During the import of the previous sequencer, it should ask for new metadata endpoints.
it shouldn't. One might want to have the old endpoints available as the sequencer keeps running until the new sequencer is fully prepared. Then perform the update
Or if after creating init directory and the metadata.json file, and then running the metadata update command, it should've actually updated with new endpoints.
unfortunately, I was not able to reproduce a failed metadata update. please try running it again, if the issue persists - leave a comment with the transaction hash here. thx
Roller version
1.7.2-alpha-rc03
Rollpp type (EVM/WASM) and version
v2.2.0-rc01-56-g147382a
OS
Ubuntu 22.04.5 LTS
Processor Architecture
(GNU/Linux 5.15.0-124-generic x86_64)
Others
System load: 0.0 Memory usage: 1%
Steps to reproduce it
I am migrating my RollApp from Hetzner to a new server.
In the process of importing the previous
Sequencer hub key
, it created newmy_celes_key
to fund, which I did. (Although, shouldn't it use the previous key?)Then it generated new
relayer hub key
and it asked to fund 20dym for this new relayer instead of using the previous one. I did. (But again, shouldn't it use the previous relayer hub key?)However, in the process of
setting up the relayer
andloading IBC channel
, it gave me an error msg:ERROR failed to load active channel, command execution failed: exit status 1, stderr: Error: post failed: Post "https://rpc.hungry-badger-11.telebit.io:443": tls: failed to verify certificate: x509: certificate is valid for telebit.cloud, not rpc.hungry-badger-11.telebit.io
This is the
old telebit rpc endpoints
from the previous server. I do have the new endpoints, but it never asked for the rpc endpoints during the import. I then went into therollapp
directory and looking to update the sequencer metadata. But there's noinit
directory inside/.roller/rollapp/
.So then I tried the export feature,
roller rollapp sequencer metadata export
, but it gave me the error because obviously, there's noinit
directory. Here's the error msg for that:ERROR failed to export metadata error writing to file: open /home/ubuntu/.roller/rollapp/init/sequencer-metadata.json: no such file or directory
So then I created a new
init
directory with thesequencer-metadata.json
and update it with the new endpoints and percentage fee.After updating the file, I ran the export command:
roller rollapp sequencer metadata export
and it asked me to update the metadata with,roller rollapp sequencer metadata update
. That seems to work as it gave me this:SUCCESS transaction succeeded
INFO Gas wanted: 200000, Gas used: 147160
However, the rpc endpoints are still the old ones in the response log.
The
metadata.json
file already has new endpoints there. I then ran,roller relayer setup
, and of course it fails with the same msg as before:ERROR failed to load active channel, command execution failed: exit status 1, stderr: Error: post failed: Post "https://rpc.hungry-badger-11.telebit.io:443": tls: failed to verify certificate: x509: certificate is valid for telebit.cloud, not rpc.hungry-badger-11.telebit.io
So what is the next step to get around this? The sequencer, relayer, da-light-client are offline in the old server for the migration.
Expected result
During the import of the previous sequencer, it should ask for new metadata endpoints. Or if after creating init directory and the metadata.json file, and then running the metadata update command, it should've actually updated with new endpoints.
Actual result
Actual result is unable to migrate sequencer from one server to the next.
Log Files
Light Client Log:
Relayer log:
Notes
No response