File tree Expand file tree Collapse file tree 4 files changed +57
-2
lines changed
target_chains/ethereum/entropy_sdk/solidity Expand file tree Collapse file tree 4 files changed +57
-2
lines changed Original file line number Diff line number Diff line change 5
5
paths :
6
6
- .github/workflows/ci-fortuna.yml
7
7
- apps/fortuna/**
8
+ - target_chains/ethereum/entropy_sdk/solidity/abis/**
8
9
push :
9
10
branches : [main]
10
11
jobs :
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ async fn inspect_chain(
90
90
}
91
91
92
92
async fn process_request ( rpc_provider : Provider < Http > , request : Request ) -> Result < ( ) > {
93
- if request. sequence_number != 0 && request. is_request_with_callback {
93
+ if request. sequence_number != 0 && request. callback_status != 0 {
94
94
let block = rpc_provider
95
95
. get_block ( request. block_number )
96
96
. await ?
Original file line number Diff line number Diff line change
1
+ [
2
+ {
3
+ "inputs" : [],
4
+ "name" : " CALLBACK_FAILED" ,
5
+ "outputs" : [
6
+ {
7
+ "internalType" : " uint8" ,
8
+ "name" : " " ,
9
+ "type" : " uint8"
10
+ }
11
+ ],
12
+ "stateMutability" : " view" ,
13
+ "type" : " function"
14
+ },
15
+ {
16
+ "inputs" : [],
17
+ "name" : " CALLBACK_IN_PROGRESS" ,
18
+ "outputs" : [
19
+ {
20
+ "internalType" : " uint8" ,
21
+ "name" : " " ,
22
+ "type" : " uint8"
23
+ }
24
+ ],
25
+ "stateMutability" : " view" ,
26
+ "type" : " function"
27
+ },
28
+ {
29
+ "inputs" : [],
30
+ "name" : " CALLBACK_NOT_NECESSARY" ,
31
+ "outputs" : [
32
+ {
33
+ "internalType" : " uint8" ,
34
+ "name" : " " ,
35
+ "type" : " uint8"
36
+ }
37
+ ],
38
+ "stateMutability" : " view" ,
39
+ "type" : " function"
40
+ },
41
+ {
42
+ "inputs" : [],
43
+ "name" : " CALLBACK_NOT_STARTED" ,
44
+ "outputs" : [
45
+ {
46
+ "internalType" : " uint8" ,
47
+ "name" : " " ,
48
+ "type" : " uint8"
49
+ }
50
+ ],
51
+ "stateMutability" : " view" ,
52
+ "type" : " function"
53
+ }
54
+ ]
Original file line number Diff line number Diff line change 14
14
"scripts" : {
15
15
"test:format" : " prettier --check ." ,
16
16
"fix:format" : " prettier --write ." ,
17
- "build" : " generate-abis IEntropy IEntropyConsumer EntropyErrors EntropyEvents EntropyStructs PRNG" ,
17
+ "build" : " generate-abis IEntropy IEntropyConsumer EntropyErrors EntropyEvents EntropyStructs EntropyStatusConstants PRNG" ,
18
18
"test" : " git diff --exit-code abis"
19
19
},
20
20
"keywords" : [
You can’t perform that action at this time.
0 commit comments