problem: proxy doesn't support long ids

fix: #48
This commit is contained in:
Igor Artamonov
2020-08-23 21:31:50 -04:00
parent 64c8cb35f3
commit 54fd5481d6
12 changed files with 57 additions and 39 deletions

View File

@@ -0,0 +1,18 @@
package io.emeraldpay.dshackle.testing.trial.proxy
import io.emeraldpay.dshackle.testing.trial.ProxyClient
import spock.lang.Specification
class MetamaskCallSpec extends Specification {
def client = ProxyClient.forPrefix("eth")
def "use long id"() {
when:
def act = client.execute(1057264140543346, "net_version", [])
then:
act.id == 1057264140543346
act.result != null
act.error == null
}
}