Ellipsis-Labs / solana-verifiable-build

CLI tool for deterministically building and verifying executable against on-chain programs or buffer accounts
185 stars 43 forks source link

Add retries for RPC calls #92

Open Woody4618 opened 4 days ago

Woody4618 commented 4 days ago

At the moment the builds fail when the RPC call to get genesis hash or program hash fails. Which is especially annoying because it happens at the end of a build.

To mitigate this locally people could use a different RPC url. But in the remote build its not easy because we do not want to expose a payed RPC api key to the container.

So hopefully these retries will help with the problem.