Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-fortuna.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths:
- .github/workflows/ci-fortuna.yml
- apps/fortuna/**
- target_chains/ethereum/entropy_sdk/solidity/abis/**
push:
branches: [main]
jobs:
Expand Down
2 changes: 1 addition & 1 deletion apps/fortuna/src/command/inspect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async fn inspect_chain(
}

async fn process_request(rpc_provider: Provider<Http>, request: Request) -> Result<()> {
if request.sequence_number != 0 && request.is_request_with_callback {
if request.sequence_number != 0 && request.callback_status != 0 {
let block = rpc_provider
.get_block(request.block_number)
.await?
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[
{
"inputs": [],
"name": "CALLBACK_FAILED",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "CALLBACK_IN_PROGRESS",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "CALLBACK_NOT_NECESSARY",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "CALLBACK_NOT_STARTED",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
}
]
2 changes: 1 addition & 1 deletion target_chains/ethereum/entropy_sdk/solidity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"test:format": "prettier --check .",
"fix:format": "prettier --write .",
"build": "generate-abis IEntropy IEntropyConsumer EntropyErrors EntropyEvents EntropyStructs PRNG",
"build": "generate-abis IEntropy IEntropyConsumer EntropyErrors EntropyEvents EntropyStructs EntropyStatusConstants PRNG",
"test": "git diff --exit-code abis"
},
"keywords": [
Expand Down
Loading