filecoin-project / oni

👹 (DEPRECATED; see README) Project Oni | Network Validation
https://docs.google.com/document/d/16jYL--EWYpJhxT9bakYq7ZBGLQ9SB940Wd1lTDOAbNE
7 stars 5 forks source link

enable paych tests #255

Closed nonsense closed 4 years ago

nonsense commented 4 years ago

This PR is enabling the paych tests that I disabled during the Drand outage tests, since upstream libraries / APIs have changed in the meantime.

The errors during compilation were:

# github.com/filecoin-project/oni/lotus-soup/paych
paych/stress.go:106:69: undefined: abi.TokenPrecision
paych/stress.go:182:84: voucher.Lane undefined (type *api.VoucherCreateResult has no field or method Lane)
paych/stress.go:182:98: voucher.Nonce undefined (type *api.VoucherCreateResult has no field or method Nonce)
paych/stress.go:182:113: voucher.Amount undefined (type *api.VoucherCreateResult has no field or method Amount)

Thanks to @dirkmc for the help!