mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-27 04:26:07 +00:00
Merge pull request #547 from status-im/enumcase
test_precompiles: fix enum case
This commit is contained in:
commit
2dfa50c9a2
@ -65,7 +65,7 @@ template doTest(fixture: JsonNode, fork: Fork, address: PrecompileAddresses): un
|
||||
proc testFixture(fixtures: JsonNode, testStatusIMPL: var TestStatus) =
|
||||
let
|
||||
label = fixtures["func"].getStr
|
||||
fork = parseEnum[Fork](fixtures["fork"].getStr)
|
||||
fork = parseEnum[Fork](fixtures["fork"].getStr.toLowerAscii)
|
||||
data = fixtures["data"]
|
||||
|
||||
case toLowerAscii(label)
|
||||
|
Loading…
x
Reference in New Issue
Block a user