Update NEAR methods list

This commit is contained in:
Anton
2024-04-22 13:43:03 +03:00
committed by GitHub
parent c47057de84
commit ba4c849aea

View File

@@ -9,7 +9,6 @@ import io.emeraldpay.dshackle.upstream.ethereum.rpc.RpcException
class DefaultNearMethods : CallMethods {
private val all = setOf(
"view_access_key",
"query",
"EXPERIMENTAL_changes",
"block",
@@ -25,8 +24,7 @@ class DefaultNearMethods : CallMethods {
)
private val add = setOf(
"broadcast_tx_async",
"broadcast_tx_commit",
"send_tx",
)
private val allowedMethods: Set<String> = all + add