Add 'confirmed' parameter (#743)

* Add 'confirmed' parameter to Solana blocksSubscribe method

* Add 'confirmed' parameter to Solana getBlocks method
This commit is contained in:
Vadim Filin
2025-11-13 19:17:43 +08:00
committed by GitHub
parent 619b98f9e5
commit d1ae0b4052
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@@ -3,6 +3,7 @@ build/
out/
./dshackle.yaml
dshackle.yaml
dhackle_key
./upstream.yaml
testsetup/
.idea/

View File

@@ -58,6 +58,7 @@ object SolanaChainSpecific : AbstractChainSpecific() {
ListParams(
response.max(),
mapOf(
"commitment" to "confirmed",
"showRewards" to false,
"transactionDetails" to "none",
"maxSupportedTransactionVersion" to 0,
@@ -104,6 +105,7 @@ object SolanaChainSpecific : AbstractChainSpecific() {
ListParams(
"all",
mapOf(
"commitment" to "confirmed",
"showRewards" to false,
"transactionDetails" to "none",
),