Git Product home page Git Product logo

Comments (4)

linked0 avatar linked0 commented on August 18, 2024

The current code seems to use EthBurnAddressHex to burn the base fee related to the London Fork. I think we could newly create this kind of address for the Commons Budget. There are more things to research for this concept.

from agoramainnet.

omerfirmak avatar omerfirmak commented on August 18, 2024

There are multiple occasions where a validator is rewarded. Which ones do we want to redirect a portion of to commons budget?

Validators are rewarded for fulfilling duties - tasks that they are assigned as part of the job of being a validator
.
.
.

In Altair, the complete list of duties is:

    TIMELY_HEAD: submit an attestation that correctly identifies the head of the chain, and gets included on chain in the next slot
    TIMELY_TARGET: submit an attestation that correctly identifies the Casper FFG target, and gets included within EPOCH_LENGTH slots
    TIMELY_SOURCE: submit an attestation that correctly identifies the Casper FFG source, and gets included within sqrt(EPOCH_LENGTH) slots
    Sync committee participation: if you are part of a sync committee, submit the sync committee signature
    Proposing: propose a block if you are assigned to do so

https://github.com/ethereum/annotated-spec/blob/master/altair/beacon-chain.md#aside-validator-duties-rewards-and-penalties

from agoramainnet.

omerfirmak avatar omerfirmak commented on August 18, 2024

https://github.com/prysmaticlabs/prysm/blob/7b1490429c21ddcdf1ba92a3b88d8978bbba4e77/beacon-chain/state/state-native/beacon_state_mainnet.go#L34

BeaconState only consists of validator balances, so there is no easy way to add a commons budget in beacon state.

from agoramainnet.

omerfirmak avatar omerfirmak commented on August 18, 2024

Implemented in bosagora/agora-el#1

from agoramainnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.