Comments (3)
@linked0 The disadvantage is that updating the list of validators on a smart contract periodically results in high gas costs.
A list of validators is only required at the beginning of the vote of the proposal. If we can provide a list of validators for each vote, we can save on gas costs.
There's something called Oracle in Ethereum's EVM.
According to what I've seen, when the voting contract is created, it seems that the list of validators can be called from the external RPC and loaded.
Therefore, I would appreciate it if you could study this.
See) https://github.com/provable-things/ethereum-examples/blob/master/solidity/DieselPrice.sol
from agoramainnet.
@linked0 The disadvantage is that updating the list of validators on a smart contract periodically results in high gas costs. A list of validators is only required at the beginning of the vote of the proposal. If we can provide a list of validators for each vote, we can save on gas costs.
There's something called Oracle in Ethereum's EVM. According to what I've seen, when the voting contract is created, it seems that the list of validators can be called from the external RPC and loaded. Therefore, I would appreciate it if you could study this. See) https://github.com/provable-things/ethereum-examples/blob/master/solidity/DieselPrice.sol
Through this afternoon's meeting, we decided to provide the validator's information only with RPC.
Therefore, we do not need to implement the function of entering a validator with a smart contract.
from agoramainnet.
I subdivided this issue.
And I created them in a different repository
bosagora/commons-budget-contract#12
bosagora/commons-budget-contract#13
bosagora/commons-budget-contract#14
bosagora/commons-budget-contract#15
from agoramainnet.
Related Issues (20)
- Change some of the terms in the content of the site http://agorascan.io. HOT 2
- Fix bugs in the daily revenue graph of the verifier on site http://agorascan.io HOT 2
- Things that need to be corrected in `agora-cl-docs.bosagora.org` HOT 1
- Be prepared to provide check-point of Agora-cl. HOT 7
- Add commands that can update agora-chain
- Upgrade AWS EC2 instance type
- Apply Log Rotation
- Change the word display on the http://agorascan.io site
- Change the word display on the http://boascan.io site
- Change the specification of the indexing server for Agora Scan
- Change the RDS of Agora Scan to a local database
- Agora-EL, Agora-CL의 바이너리를 제공하도록 한다. HOT 1
- 병합이후 BOAScan의 마이너의 주소를 표시하도록 수정
- Correct the wrong link HOT 1
- Agora-CL에 Capella 업그레이드를 적용 HOT 1
- Agora-EL에 Shanghai 업그레이드를 적용 HOT 1
- Agora-CL에서 제거된 플래그 disable-peer-scorer 를 복원하라
- The Checklist for the upgrade withdrawals HOT 1
- 검증자별 잔고 와 리워드 합산금액 계산법이 변경되었습니다. HOT 2
- 메인넷 인출 업그레이드 노드 서버 업그레이드 실행
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agoramainnet.