ref-fvm icon indicating copy to clipboard operation
ref-fvm copied to clipboard

Kernel: Unit Tests Tracking Issue

Open mriise opened this issue 3 years ago • 0 comments

DefaultKernel

  • [ ] Kernel
  • [ ] SelfOps
  • [ ] IpldOps https://github.com/filecoin-project/ref-fvm/pull/577
    • [ ] block_open
    • [x] block_create
    • [x] block_link
    • [x] block_read
    • [x] block_stat
  • [ ] MessageOps
  • [ ] SendOps
  • [ ] CircSupplyOps
  • [ ] CryptoOps
  • [ ] GasOps https://github.com/filecoin-project/ref-fvm/pull/598
    • [x] gas_used
    • [x] gas_available
    • [ ] charge_gas
    • [x] price_list
  • [ ] NetworkOps
  • [ ] RandomnessOps
  • [ ] ActorOps
  • [ ] DebugOps

TODOs for better quality tests

  • [ ] macro testing functions for expected/documented error returns
  • [ ] use GasTracker and make calls normally instead of reaching inside Kernel to call the functions on price_list
  • [ ] split off boilerplate into functions/macros

Tests purposely ignored till M2 (mostly because M1 is known to not care)

  • Gas charge call counting for failed operations
  • IpldOps
    • creation of invalid blocks
  • Tests using NetworkVersion::V16

mriise avatar May 27 '22 17:05 mriise