mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-14 13:51:21 +00:00
rpc: test CallCode and Call
This commit is contained in:
@ -31,6 +31,14 @@ func TestHTTPGetStorage(t *testing.T) {
|
||||
testGetStorage(t, "HTTP")
|
||||
}
|
||||
|
||||
func TestHTTPCallCode(t *testing.T) {
|
||||
testCallCode(t, "HTTP")
|
||||
}
|
||||
|
||||
func TestHTTPCallContract(t *testing.T) {
|
||||
testCall(t, "HTTP")
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------
|
||||
// Test the JSONRPC client
|
||||
|
||||
@ -57,3 +65,11 @@ func TestJSONBroadcastTx(t *testing.T) {
|
||||
func TestJSONGetStorage(t *testing.T) {
|
||||
testGetStorage(t, "JSONRPC")
|
||||
}
|
||||
|
||||
func TestJSONCallCode(t *testing.T) {
|
||||
testCallCode(t, "JSONRPC")
|
||||
}
|
||||
|
||||
func TestJSONCallContract(t *testing.T) {
|
||||
testCall(t, "JSONRPC")
|
||||
}
|
||||
|
Reference in New Issue
Block a user