chore: revert message domain to testnet (#25)

Signed-off-by: bestmike007 <i@bestmike007.com>
This commit is contained in:
Yuanhai He
2023-09-08 13:17:43 +08:00
committed by GitHub
parent 03c65f6a4d
commit d187d24209
2 changed files with 28 additions and 32 deletions

View File

@@ -163,64 +163,60 @@
"code": "ERR-OUT-OF-BOUNDS",
"comment": "clarity-bitcoin.clar:85"
},
"2894909907": {
"2894909906": {
"code": "ERR-VALIDATOR-ALREADY-REGISTERED",
"comment": "indexer.clar:57"
"comment": "indexer.clar:56"
},
"2894909936": {
"2894909935": {
"code": "ERR-UNKNOWN-VALIDATOR",
"comment": "indexer.clar:65"
"comment": "indexer.clar:64"
},
"2894909970": {
"2894909969": {
"code": "ERR-REQUIRED-VALIDATORS",
"comment": "indexer.clar:78"
"comment": "indexer.clar:77"
},
"2894910026": {
"2894910025": {
"code": "ERR-UNKNOWN-VALIDATOR",
"comment": "indexer.clar:92"
"comment": "indexer.clar:91"
},
"3842857192": {
"code": "ERR-DUPLICATE-SIGNATURE",
"comment": "indexer.clar:108"
},
"3842857193": {
"code": "ERR-DUPLICATE-SIGNATURE",
"code": "ERR-ORDER-HASH-MISMATCH",
"comment": "indexer.clar:109"
},
"3842857215": {
"code": "ERR-ORDER-HASH-MISMATCH",
"code": "ERR-INVALID-SIGNATURE",
"comment": "indexer.clar:110"
},
"3842857216": {
"code": "ERR-INVALID-SIGNATURE",
"comment": "indexer.clar:111"
"3842857283": {
"code": "ERR-PAUSED",
"comment": "indexer.clar:136"
},
"3842857284": {
"code": "ERR-PAUSED",
"code": "ERR-UKNOWN-RELAYER",
"comment": "indexer.clar:137"
},
"3842857285": {
"code": "ERR-UKNOWN-RELAYER",
"comment": "indexer.clar:138"
},
"3842857403": {
"code": "ERR-TX-ALREADY-INDEXED",
"comment": "indexer.clar:172"
},
"3842857404": {
"3842857402": {
"code": "ERR-REQUIRED-VALIDATORS",
"comment": "indexer.clar:173"
"comment": "indexer.clar:171"
},
"3842857466": {
"3842857464": {
"code": "ERR-NOT-AUTHORIZED",
"comment": "indexer.clar:193"
"comment": "indexer.clar:191"
},
"4072773152": {
"code": "ERR-TX-NOT-INDEXED",
"comment": "indexer-registry.clar:58"
},
"4072773241": {
"4072773244": {
"code": "ERR-NOT-AUTHORIZED",
"comment": "indexer-registry.clar:84"
"comment": "indexer-registry.clar:87"
},
"4072773245": {
"4072773269": {
"code": "ERR-NOT-AUTHORIZED",
"comment": "indexer-registry.clar:88"
"comment": "indexer-registry.clar:91"
}
}

View File

@@ -27,8 +27,8 @@
;; 'chain-id': uintCV(new StacksMainnet().chainId) | uintCV(new StacksMocknet().chainId),
;; }),
;; );
(define-constant message-domain 0x6d11cd301d11961e7cfeabd61e3f4da17f42f3d627362c8878aa9cbb5c532be2) ;;mainnet
;; (define-constant message-domain 0x84deb9a3b41b870d85819000deefa999f43b1bf2c3d80c3ea19d4b83b7b10fbc) ;; testnet
;; (define-constant message-domain 0x6d11cd301d11961e7cfeabd61e3f4da17f42f3d627362c8878aa9cbb5c532be2) ;;mainnet
(define-constant message-domain 0x84deb9a3b41b870d85819000deefa999f43b1bf2c3d80c3ea19d4b83b7b10fbc) ;; testnet
(define-data-var contract-owner principal tx-sender)
(define-map approved-relayers principal bool)