Skip to content

Commit 4f07f6b

Browse files
rv-jenkinsdwightguth
authored andcommitted
Update dependencies (#507)
* deps/k: update submodule * deps/plugin: update submodule * deps/k: update submodule * deps/k: update submodule * Revert "deps/plugin: update submodule" This reverts commit 7a552c8. * Revert "Revert "deps/plugin: update submodule"" This reverts commit f098697. * fix kore-json.py * !!! (origin/update-labels) deps/plugin: update submodule * deps/plugin: update submodule * deps/k: update submodule * add missing side condition * deps/k: update submodule
1 parent a454a19 commit 4f07f6b

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

deps/k

Submodule k updated from cf08050 to b1e46e5

kore-json.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@ def escape(data):
1414

1515
def print_kast(data, sort="SortJSON"):
1616
if isinstance(data, list):
17-
sys.stdout.write("Lbl'LSqBUndsRSqBUnds'EVM-DATA'UndsUnds'JSONList{}(")
17+
sys.stdout.write("Lbl'LSqBUndsRSqBUnds'EVM-DATA'Unds'JSON'Unds'JSONList{}(")
1818
for elem in data:
19-
sys.stdout.write("Lbl'UndsCommUndsUnds'EVM-DATA'UndsUnds'JSON'Unds'JSONList{}(")
19+
sys.stdout.write("Lbl'UndsCommUndsUnds'EVM-DATA'Unds'JSONList'Unds'JSON'Unds'JSONList{}(")
2020
print_kast(elem)
2121
sys.stdout.write(',')
22-
sys.stdout.write("Lbl'Stop'List'LBraQuotUndsCommUndsUnds'EVM-DATA'UndsUnds'JSON'Unds'JSONList'QuotRBraUnds'JSONList{}()")
22+
sys.stdout.write("Lbl'Stop'List'LBraQuotUndsCommUndsUnds'EVM-DATA'Unds'JSONList'Unds'JSON'Unds'JSONList'QuotRBraUnds'JSONList{}()")
2323
for elem in data:
2424
sys.stdout.write(')')
2525
sys.stdout.write(')')
2626
elif isinstance(data, OrderedDict):
27-
sys.stdout.write("Lbl'LBraUndsRBraUnds'EVM-DATA'UndsUnds'JSONList{}(")
27+
sys.stdout.write("Lbl'LBraUndsRBraUnds'EVM-DATA'Unds'JSON'Unds'JSONList{}(")
2828
for key, value in data.items():
29-
sys.stdout.write("Lbl'UndsCommUndsUnds'EVM-DATA'UndsUnds'JSON'Unds'JSONList{}(Lbl'UndsColnUndsUnds'EVM-DATA'UndsUnds'JSONKey'Unds'JSON{}(")
29+
sys.stdout.write("Lbl'UndsCommUndsUnds'EVM-DATA'Unds'JSONList'Unds'JSON'Unds'JSONList{}(Lbl'UndsColnUndsUnds'EVM-DATA'Unds'JSON'Unds'JSONKey'Unds'JSON{}(")
3030
print_kast(key, "SortJSONKey")
3131
sys.stdout.write(',')
3232
print_kast(value)
3333
sys.stdout.write('),')
34-
sys.stdout.write("Lbl'Stop'List'LBraQuotUndsCommUndsUnds'EVM-DATA'UndsUnds'JSON'Unds'JSONList'QuotRBraUnds'JSONList{}()")
34+
sys.stdout.write("Lbl'Stop'List'LBraQuotUndsCommUndsUnds'EVM-DATA'Unds'JSONList'Unds'JSON'Unds'JSONList'QuotRBraUnds'JSONList{}()")
3535
for key in data:
3636
sys.stdout.write(')')
3737
sys.stdout.write(')')

web3.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ WEB3 JSON RPC
245245
<callid> CALLID </callid>
246246
<batch> [ _ ] </batch>
247247
<web3response> ... .List => ListItem({ "jsonrpc": "2.0", "id": CALLID, J }) </web3response>
248+
requires CALLID =/=K undef
248249
249250
rule <k> #sendResponse(_) ~> _ => #loadFromBatch </k>
250251
<callid> undef </callid>

0 commit comments

Comments
 (0)