Sergei Tikhomirov
4b60383f39
make try-block smaller
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
a92ffc7a42
use standard method of error handling
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
03eb69060f
use Result type in eligibility tests
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
ef4c2d3f69
refactor, move all hard-coded constants to tests
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
363d56c980
chore: run nph linter manually
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
d7f2a33414
avoid unnecessary parentheses
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
718c772da1
define const for simple transfer gas usage
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
829c1f6d9b
refactor: avoid result and unnecesary branching
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
5167eb61a6
move isEligible to common
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
5ddf3afc9a
use Address.fromHex conversion from eth-web3
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
4e956c49c0
add comments to clarify eligibility definition
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
83953a5e86
minor fixes
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
22852d683c
use new proc to generate eligibility status
...
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov
a3bef8150d
feat: add simple txid-based eligibility check with hard-coded params ( #3166 )
2024-12-20 12:29:48 +01:00
gabrielmer
086cc8edd2
chore: adding lint job to the CI ( #2925 )
2024-07-23 13:57:24 +03:00
Sergei Tikhomirov
65530264d5
feat(incentivization): add codec for eligibility proof and status ( #2419 )
...
* incentivization: add codec for eligibility proofs
* add codec for eligibility proof and eligibility status
* address minor comments
* make status code mandatory in eligibility status
2024-03-26 18:25:42 +01:00