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

Gas charging parameters for FIP-0032 #507

Closed
Kubuxu opened this issue Apr 22, 2022 · 2 comments
Closed

Gas charging parameters for FIP-0032 #507

Kubuxu opened this issue Apr 22, 2022 · 2 comments

Comments

@Kubuxu
Copy link
Contributor

Kubuxu commented Apr 22, 2022

Name Value Notes
Execution Gas 0.6 ns/op = 6gas/op
Syscall Cost 5000 op = 30000 gas Applicable for every syscall
Externs Cost 1µs = 10000 gas Applicable for every extern call
block_open OnIPLDRead + extern cost + syscall cost
block_read 0 + syscall cost
block_write 0 + syscall cost
block_link OnIPLDWrite + syscall cost
block_stat 0 + syscall cost
get_chain_randomness + extern cost + syscall cost
get_beacon_randomness + extern cost + syscall cost
verify_consensus_fault + extern cost + syscall cost
@raulk raulk changed the title Gas charging points Gas charging parameters for FIP-0032 Apr 22, 2022
@raulk
Copy link
Member

raulk commented Apr 22, 2022

Action items

  • Simulation/backtesting of new gas model on relevant nv15 messages.
  • Submit update to FIP-0032.

@raulk
Copy link
Member

raulk commented May 5, 2022

See filecoin-project/FIPs#368 for final parameters proposal.

@raulk raulk closed this as completed May 5, 2022
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