Commit a624910f authored by vipwzw's avatar vipwzw Committed by 33cn

auto ci

parent c4de64ff
...@@ -7,12 +7,13 @@ package commands ...@@ -7,12 +7,13 @@ package commands
import ( import (
"strings" "strings"
"encoding/json"
jsonrpc "github.com/33cn/chain33/rpc/jsonclient" jsonrpc "github.com/33cn/chain33/rpc/jsonclient"
rpctypes "github.com/33cn/chain33/rpc/types" rpctypes "github.com/33cn/chain33/rpc/types"
"github.com/33cn/chain33/types" "github.com/33cn/chain33/types"
auty "github.com/33cn/plugin/plugin/dapp/autonomy/types" auty "github.com/33cn/plugin/plugin/dapp/autonomy/types"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"encoding/json"
) )
// AutonomyCmd 自治系统命令行 // AutonomyCmd 自治系统命令行
......
...@@ -5,12 +5,13 @@ ...@@ -5,12 +5,13 @@
package commands package commands
import ( import (
"encoding/json"
jsonrpc "github.com/33cn/chain33/rpc/jsonclient" jsonrpc "github.com/33cn/chain33/rpc/jsonclient"
rpctypes "github.com/33cn/chain33/rpc/types" rpctypes "github.com/33cn/chain33/rpc/types"
"github.com/33cn/chain33/types" "github.com/33cn/chain33/types"
auty "github.com/33cn/plugin/plugin/dapp/autonomy/types" auty "github.com/33cn/plugin/plugin/dapp/autonomy/types"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"encoding/json"
) )
// ProposalProjectCmd 创建提案命令 // ProposalProjectCmd 创建提案命令
......
...@@ -5,12 +5,13 @@ ...@@ -5,12 +5,13 @@
package commands package commands
import ( import (
"encoding/json"
jsonrpc "github.com/33cn/chain33/rpc/jsonclient" jsonrpc "github.com/33cn/chain33/rpc/jsonclient"
rpctypes "github.com/33cn/chain33/rpc/types" rpctypes "github.com/33cn/chain33/rpc/types"
"github.com/33cn/chain33/types" "github.com/33cn/chain33/types"
auty "github.com/33cn/plugin/plugin/dapp/autonomy/types" auty "github.com/33cn/plugin/plugin/dapp/autonomy/types"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"encoding/json"
) )
// ProposalRuleCmd 创建提案命令 // ProposalRuleCmd 创建提案命令
......
...@@ -7,13 +7,14 @@ package rpc_test ...@@ -7,13 +7,14 @@ package rpc_test
import ( import (
"testing" "testing"
"encoding/json"
"github.com/33cn/chain33/rpc/jsonclient" "github.com/33cn/chain33/rpc/jsonclient"
rpctypes "github.com/33cn/chain33/rpc/types" rpctypes "github.com/33cn/chain33/rpc/types"
_ "github.com/33cn/chain33/system" _ "github.com/33cn/chain33/system"
"github.com/33cn/chain33/types" "github.com/33cn/chain33/types"
_ "github.com/33cn/plugin/plugin" _ "github.com/33cn/plugin/plugin"
auty "github.com/33cn/plugin/plugin/dapp/autonomy/types" auty "github.com/33cn/plugin/plugin/dapp/autonomy/types"
"encoding/json"
) )
func testPropBoardTxCmd(t *testing.T, jrpc *jsonclient.JSONClient) error { func testPropBoardTxCmd(t *testing.T, jrpc *jsonclient.JSONClient) error {
......
...@@ -7,13 +7,14 @@ package rpc_test ...@@ -7,13 +7,14 @@ package rpc_test
import ( import (
"testing" "testing"
"encoding/json"
"github.com/33cn/chain33/rpc/jsonclient" "github.com/33cn/chain33/rpc/jsonclient"
rpctypes "github.com/33cn/chain33/rpc/types" rpctypes "github.com/33cn/chain33/rpc/types"
_ "github.com/33cn/chain33/system" _ "github.com/33cn/chain33/system"
"github.com/33cn/chain33/types" "github.com/33cn/chain33/types"
_ "github.com/33cn/plugin/plugin" _ "github.com/33cn/plugin/plugin"
auty "github.com/33cn/plugin/plugin/dapp/autonomy/types" auty "github.com/33cn/plugin/plugin/dapp/autonomy/types"
"encoding/json"
) )
func testPropProjectTxCmd(t *testing.T, jrpc *jsonclient.JSONClient) error { func testPropProjectTxCmd(t *testing.T, jrpc *jsonclient.JSONClient) error {
......
...@@ -7,13 +7,14 @@ package rpc_test ...@@ -7,13 +7,14 @@ package rpc_test
import ( import (
"testing" "testing"
"encoding/json"
"github.com/33cn/chain33/rpc/jsonclient" "github.com/33cn/chain33/rpc/jsonclient"
rpctypes "github.com/33cn/chain33/rpc/types" rpctypes "github.com/33cn/chain33/rpc/types"
_ "github.com/33cn/chain33/system" _ "github.com/33cn/chain33/system"
"github.com/33cn/chain33/types" "github.com/33cn/chain33/types"
_ "github.com/33cn/plugin/plugin" _ "github.com/33cn/plugin/plugin"
auty "github.com/33cn/plugin/plugin/dapp/autonomy/types" auty "github.com/33cn/plugin/plugin/dapp/autonomy/types"
"encoding/json"
) )
func testPropRuleTxCmd(t *testing.T, jrpc *jsonclient.JSONClient) error { func testPropRuleTxCmd(t *testing.T, jrpc *jsonclient.JSONClient) error {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment