Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we get rid of the "withHint" stuff? #594

Open
chrishobcroft opened this issue Jun 29, 2022 · 2 comments
Open

Can we get rid of the "withHint" stuff? #594

chrishobcroft opened this issue Jun 29, 2022 · 2 comments

Comments

@chrishobcroft
Copy link

The withHint stuff results in overloading RPC endpoints with requests for the entire list of Orchestrators in order to look up the previous and subsequent Orchestrators in the ranking.

Since moving to Arbitrum, do we still need this temporary solution to "L1 gas fees too high"

cc. @kyriediculous

@0xcadams
Copy link
Member

This still results in gas savings for users - it is a net positive for users to pay less by moving computation off-chain, even on Arbitrum. This shouldn't be an issue since contract reads are free?

@chrishobcroft
Copy link
Author

Right, reads are free in that they don't cost money, but they do cost something: if only in terms of power and bandwidth, plus querying some RPC endpoint which queries chainstate data somewhere.

Reads kinda do cost, in terms of user attention, responsivity, slick UX etc. In some ways your reputation is at stake, so you'd better be readable otherwise game over.

And this is the motivation behind this issue. The withHint stuff, for me, is technical debt, built up to solve for high inclusion fees, but now putting excess load on another part of this system, which has some kind of centralising force, with community convening around a "community Arbitrum" node, in order to maintain operatability.

But at some level, you're right. Both options are available as functions on the contract, with hint and without.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants