add missing 'conditionType' field in examples.

pull/3209/head
Kieran Prasch 2023-08-27 00:26:17 +02:00
parent 96c2adf7f5
commit fc5ae1b1b1
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ ANYTHING_CAN_BE_PASSED_AS_RITUAL_ID = 55
before_the_beginning_of_time = {
"version": ConditionLingo.VERSION,
"condition": {
"conditionType": "time",
"chain": 1,
"method": "blocktime",
"returnValueTest": {"comparator": "<", "value": 0},

View File

@ -47,6 +47,7 @@ print(
eth_balance_condition = {
"version": ConditionLingo.VERSION,
"condition": {
"conditionType": "rpc",
"chain": 80001,
"method": "eth_getBalance",
"parameters": ["0x210eeAC07542F815ebB6FD6689637D8cA2689392", "latest"],