Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Retrieve signed data after on chain data has been read #476

Open
bdrhn9 opened this issue Sep 17, 2023 · 0 comments
Open

Retrieve signed data after on chain data has been read #476

bdrhn9 opened this issue Sep 17, 2023 · 0 comments

Comments

@bdrhn9
Copy link
Contributor

bdrhn9 commented Sep 17, 2023

In current implementation, signed data to update beacon is being read early. There are bunch of process after reading signed data until checking conditions to update e.g. initializing Api3ServerV1 contract, initializing sponsor wallet, getting transaction count, initializing void signer, doing some encoding stuff, reading on chain data (multicall). As one can see, only two RPC calls can lead to 30 secs delay because timeout for an RPC call is 15_000 ms. I think more proper approach will be reading signed data from state after on chain data has been fetched.

@bdrhn9 bdrhn9 changed the title Fetch signed data after reading on chain data Retrieve signed data after on chain data has been read Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant