Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
481152c1
Commit
481152c1
authored
Jan 08, 2020
by
hxzqlh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update exchange test
parent
610aa1ed
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
client.go
plugin/dapp/exchange/test/client.go
+1
-1
exec_cli.go
plugin/dapp/exchange/test/exec_cli.go
+1
-1
grpc_cli.go
plugin/dapp/exchange/test/grpc_cli.go
+1
-1
prepare.sh
plugin/dapp/exchange/test/prepare.sh
+2
-2
No files found.
plugin/dapp/exchange/test/client.go
View file @
481152c1
...
...
@@ -2,7 +2,7 @@ package test
import
(
"github.com/33cn/chain33/types"
"github.com/go
go
/protobuf/proto"
"github.com/go
lang
/protobuf/proto"
)
type
Cli
interface
{
...
...
plugin/dapp/exchange/test/exec_cli.go
View file @
481152c1
...
...
@@ -7,7 +7,7 @@ import (
"github.com/33cn/chain33/common/db"
"github.com/33cn/plugin/plugin/dapp/exchange/executor"
"github.com/go
go
/protobuf/proto"
"github.com/go
lang
/protobuf/proto"
"github.com/33cn/chain33/account"
"github.com/33cn/chain33/common/address"
...
...
plugin/dapp/exchange/test/grpc_cli.go
View file @
481152c1
...
...
@@ -12,7 +12,7 @@ import (
"github.com/33cn/plugin/plugin/dapp/exchange/executor"
et
"github.com/33cn/plugin/plugin/dapp/exchange/types"
tt
"github.com/33cn/plugin/plugin/dapp/token/types"
"github.com/go
go
/protobuf/proto"
"github.com/go
lang
/protobuf/proto"
"google.golang.org/grpc"
)
...
...
plugin/dapp/exchange/test/prepare.sh
View file @
481152c1
...
...
@@ -33,12 +33,12 @@ sleep 1
## config token
./chain33-cli send config config_tx
-c
token-finisher
-o
add
-v
1CbEVT9RnM5oZhWMj4fxUrJX94VtRotzvs
-k
1CbEVT9RnM5oZhWMj4fxUrJX94VtRotzvs
sleep
1
./chain33-cli config query
_config
-k
token-finisher
./chain33-cli config query
-k
token-finisher
./chain33-cli send config config_tx
-c
token-blacklist
-o
add
-v
BTY
-k
1CbEVT9RnM5oZhWMj4fxUrJX94VtRotzvs
sleep
1
./chain33-cli config query
_config
-k
token-blacklist
./chain33-cli config query
-k
token-blacklist
## 10亿
./chain33-cli send token precreate
-f
0.001
-i
"test ccny"
-n
"ccny"
-a
1CbEVT9RnM5oZhWMj4fxUrJX94VtRotzvs
-p
0
-s
CCNY
-t
1000000000
-k
1CbEVT9RnM5oZhWMj4fxUrJX94VtRotzvs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment