Skip to content

Commit

Permalink
Update NEAR methods list
Browse files Browse the repository at this point in the history
  • Loading branch information
tonatoz authored Apr 22, 2024
1 parent c47057d commit ba4c849
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
Expand Down

0 comments on commit ba4c849

Please sign in to comment.