Skip to content

Instantly share code, notes, and snippets.

View longbowlu's full-sized avatar

Lu Zhang longbowlu

  • San Francisco Bay Area
View GitHub Profile
curl --location 'https://wallet-rpc.mainnet.sui.io/' \
--header 'Accept: */*' \
--header 'Accept-Encoding: gzip, deflate, br' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Cache-Control: no-cache' \
--header 'Connection: keep-alive' \
--header 'Content-Length: 1350' \
--header 'Host: wallet-rpc.mainnet.sui.io' \
--header 'Origin: chrome-extension://opcgpfmipidbgpenhmajoajpbobppdil' \
--header 'Pragma: no-cache' \
---
db-path: /Users/luzhang/.sui/sui_config/fullnode_db
network-address: /ip4/0.0.0.0/tcp/8080/http
json-rpc-address: "0.0.0.0:9000"
websocket-address: "0.0.0.0:9001"
metrics-address: "0.0.0.0:9184"
admin-interface-port: 1337
enable-event-processing: true
grpc-load-shed: ~
grpc-concurrency-limit: ~
transaction_digest
----------------------------------------------
FjjYqU82iN9k3rK2Mqg2WgqftQmnH9U8jnUDtexsK4gT
3msE7Fz7kyVSzkasbLgctSPwBc9tKzzuyLbR1Rq136Mx
BG9f98usXMbeHPU1FDEY7T5UXpiM5A7LCms2SkaiUv7J
4HXbHXSBUoi4GvnnugQGZsRYd3FG3dCGCFsUEGLBTkPn
EBGn9c9rynMQDgFBQQ5oB71uyZdVcnykffMZTrER7s8X
DmD4F2cDNwKqLmmbSfHtv97nFnxZQMmB1KFxtV2G1ejN
HdAG6SGFSVTguz42YyupwM3tmSSdVkAPfv4Q4cGKV4AL
EAJo5GDP9fnqAYJzJCJRXBLbsj8ztViyWirNjkDqif4t
transaction_digest | transaction_count
----------------------------------------------+-------------------
F1VhZve6o6fExjzjyaKW2bX6dxYVKdbxnA4Ed7tbSbbM | 702
9foisM2Hxc72ANb2hnuD1meyY9LoV4WV4hAHfdesgM9y | 702
3JzMJd6WmL1axDsmWZAfEhfBbJ61gM9iApHgsx5Mr5wL | 702
3DhdxxhThR6768GLyvScHUQCjWaujVewAUstLAx2qX57 | 704
7m6tPyiE3KCTyR7MTiAw95z5QVXyDhWvZL4oVQvWuQcL | 704
67grNk5kszbouAc5Q5sktr6iT8gQGHWuR3hxw4y5BpLu | 704
6AhjgRfbqfSGbtPuFDYwKRvkYUgi5E1jQGFBH6SgV3EA | 708
39P6ckqYZWtZ6EBqGjpUww4UWCFzZMA4vY8Mn4H9pgFj | 708
tx num | command num
5 | 1022
5 | 1020
5 | 1018
5 | 1016
5 | 1014
5 | 1012
5 | 1010
5 | 1008
5 | 1006
{"timestamp":"2023-04-05T19:47:20.799563Z","level":"ERROR","fields":{"message":"Failed to verify cert from validator response. Error: InvalidSignature { error: \"General cryptographic error\" }. Cert: AuthorityQuorumSignInfo { epoch: 748, signature: BLS12381AggregateSignature { sig: Signature { point: blst_p1_affine { x: blst_fp { l: [7438068133229639455, 10136465181502478975, 16605910353090343117, 2394935117512968763, 8584326747187432819, 106515090343063043] }, y: blst_fp { l: [11464220532754736985, 5868915455287234398, 1153950544950400099, 13164418188977204598, 16973771714432455763, 1850434076756458240] } } }, bytes: OnceCell(Uninit) }, signers_map: RoaringBitmap<56 values between 0 and 97> }","tx_digest":"TransactionDigest(DLPdvSokk5sHeSdrqW88xNYAWtjoqTU8Sdv3DikBQA7n)","name":"k#a96bfb45..","epoch":"748","voting_rights":"[(k#80127c70c3276c01a2f5db6dfed4e8ab25cdb27c4734ca4a78c363393a5a3d57bf96fd7bb980b79ac4f4e17591f76ad404ff6ed99c6fe4f2090b81a23b53a2318f6455beff6c5a79bfe10d20bb28dec58bcd8d950bf426bc6a0f75
{"Blockscope.net": "80127c70c3276c01a2f5db6dfed4e8ab25cdb27c4734ca4a78c363393a5a3d57bf96fd7bb980b79ac4f4e17591f76ad404ff6ed99c6fe4f2090b81a23b53a2318f6455beff6c5a79bfe10d20bb28dec58bcd8d950bf426bc6a0f755251983df6"}
{"Ankr": "811c9dec82ea97c08154db6f11ad28b153d59402c717084fccaa2577770a680a0bd3f8d3ab3ad1a375b5a2accecb9060011853b8163fa10d5db88f387938592a595aa776ec4b03dcf4b60d738a1f501e3faa339e7c8052b633e04f0d17ceed6a"}
{"Restake": "81626d03fc71338d6e72b3fdebd91150124b0c0631754f9dcf3128d808eab396fc7c96a0b69da1df8ee44ad3c2f55f430dfdb1829408adab481ac439b96804889349d12fb33736c83c6df42e249d6747e905d7968df752351d296c34d29f9cbd"}
{"H2O Nodes": "81888a6b4c68f8f49de096d98f2d3f76c30f54b8e0615435ed5a9085173af7e4dc332f3b5cb8bdb14e46da6dbb30477d0e7d1b4e900d4af0b94355d524cb560eb44ea2b78c5fe9b9eb3906455c9e44caef6fd095ec7d2fbbc1159850d719bec2"}
{"Flipside": "8194ca7fb1275c248f03dc57cb34d446a333d8226027270f2f4a8af5360cd42f0e864cbc7c6f710324b90ba0e725590c177decef4bc6609ade700484d167405c945f272158685f0424e8568850f43c3765223119b1e8
cargo test -p sui-framework
Finished test [unoptimized + debuginfo] target(s) in 1.24s
Running unittests src/lib.rs (/Users/luzhang/Workplaces/sui/target/debug/deps/sui_framework-841a5ba86f139623)
running 3 tests
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING Basics
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
sui-tool fetch-transaction --digest CcEr2ag7sJWFaL9RX1TnSci6WVzUjmwCiExHXDXSNunS --genesis ~/Workplaces/wave2/genesis.blob
#0 Err(
RpcError(
"error trying to connect: deadline has elapsed",
"The service is currently unavailable",
),
)
0 k#85239eeb.. /dns/sui.cogentcrypto.io/tcp/8080/http (using 10.005 seconds)
1 k#85ff6f9a.. /dns/sui.infclouds.io/tcp/8080/http (using 10.005 seconds)
2 k#962f2ce5.. /ip4/66.94.116.255/tcp/8080/http (using 10.004 seconds)
sui-tool dump-validators --genesis ~/Workplaces/wave2/genesis.blob | pbcopy
[
ValidatorInfo {
name: "blockscope",
account_key: Ed25519(
a3nRgvaIdgL9QE4hN+osbieMzwV8qsTtOATrcR7muAc=,
),
protocol_key: k#81cecd3600c88780860105a15a874b3807600485581966271f6fdb51b6ac8af69a23fd1084bc8d4acefc7b6f8f48f8f80d281c48a9c35bdf0f2277c28adb99d8e4c38fdd445af8faf7b7e93e33333b15c0049278ad479b87197faf781b630305,
worker_key: 2pkpEVoXZv3VT264jsFzfapQCMgrp8z7jWyogt+IeQk=,
network_key: hRLgvTBUT4/aTLOSqXAm5CLOvir3kaJUj6XgqIYD8pA=,