Skip to content

Commit 836ae7f

Browse files
committed
checkpoint #4
1 parent 310ab17 commit 836ae7f

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

chain/acala/acala.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
)
1616

1717
const (
18-
DefaultClientRPCURL = "http://127.0.0.1:9944"
18+
DefaultClientRPCURL = "ws://127.0.0.1:9944"
1919
)
2020

2121
type ClientOptions struct {

chain/acala/mint_burn_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
var _ = Describe("Mint Burn", func() {
16-
Context("when minting over renbridge", func() {
16+
FContext("when minting over renbridge", func() {
1717
It("should succeed", func() {
1818
ctx, cancel := context.WithCancel(context.Background())
1919
defer cancel()
@@ -34,7 +34,7 @@ var _ = Describe("Mint Burn", func() {
3434
func getMintParams() (pack.Bytes32, pack.Bytes32, pack.Bytes65, pack.U64) {
3535
pHashHex := "c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
3636
nHashHex := "7cfa7e302afcfbf3ab62634059fe32a4d5869dea599dee28151d30635b433907"
37-
sigHex := "1bf1086832fb51e4ee7a5002238130b6f21886da46b639608de0cbe5e285186d342df634f526b5bae59d7fcab6a18ea355be27da5cb649a51a0787b51294093c1"
37+
sigHex := "1bf1086832fb51e4ee7a5002238130b6f21886da46b639608de0cbe5e285186d342df634f526b5bae59d7fcab6a18ea355be27da5cb649a51a0787b51294093c"
3838
amount := uint64(95000)
3939

4040
pHashBytes, err := hex.DecodeString(pHashHex)
@@ -50,6 +50,7 @@ func getMintParams() (pack.Bytes32, pack.Bytes32, pack.Bytes65, pack.U64) {
5050
copy(pHash[:], pHashBytes)
5151
copy(nHash[:], nHashBytes)
5252
copy(sig[:], sigBytes)
53+
sig[64] = 1
5354

5455
return pack.Bytes32(pHash), pack.Bytes32(nHash), pack.Bytes65(sig), pack.NewU64(amount)
5556
}

0 commit comments

Comments
 (0)