Giter Site home page Giter Site logo

cita-cli's People

Contributors

ashchan avatar boundless-forest avatar driftluo avatar kaikai1024 avatar kaoimin avatar kellyshang avatar lancelot96 avatar leeyr338 avatar mine77 avatar mohanson avatar priewienv avatar qingyanl avatar rink1969 avatar thewawar avatar yejiayu avatar zengbing15 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cita-cli's Issues

Switch blake2b and ed25519 algorithm implementation

Maybe we can use these two libraries to do it, but please test compatibility before switching. The most important thing is that the key and personal values of blake2b algorithm are consistent with cita-common.

blake2b_simd = "0.4.1"
ed25519-dalek = "0.9.1"

After completion, we will be able to cancel conditional compilation and support three algorithms at the same time.

摘要:【CITA1】在cli命令行模式,调用newFilter接口不成功。

摘要:【CITA1】在cli命令行模式,调用newFilter接口不成功。

前提条件:
1、已起链;
2、进入cli命令行模式;
3、部署测试合约得到:
3.1、contractAddress:0xe78ed755aa47c1b0e5e6c9f8db67a187f64e3322
3.2、topics:
"0x4f8cfde3439a1a302c21ca51eec26086efbfd940b8c0279889fc6bb6e73ecc66",
"0x0000000000000000000000004b5ae4567ad5d9fb92bc9afd6a657e6fa13a2523"

操作步骤:
1、执行命令:rpc newFilter --address 0xe78ed755aa47c1b0e5e6c9f8db67a187f64e3322 --topic 0x4f8cfde3439a1a302c21ca51eec26086efbfd940b8c0279889fc6bb6e73ecc66 --from 0x00 --to latest,查看结果--KO;

预期结果:可以请求成功。

实际结果:接口一直报错。
部署合约并获取回执
newFilter接口的帮助信息
cli命令行请求newFilter接口只传入topic参数
请求newFilter接口
通过rpc调用是OK的

the return value of admin address

image

the image above should have described the issue clearly. well, i'm not quite familiar with rust grammar, i guess this line (cita-cli/src/cli/contract_command.rs) should be modified:
      ("admin", Some(m)) => AdminClient::create(client).admin(m.value_of("height")),

make the return value remove the prefix 00000..., maybe some method named wrap()?

tx make error

cita> tx make
>> Customize error: Corresponding address does not respond
cita> info
[       url        ]: http://127.0.0.1:1337
[       pwd        ]: /home/u2/cryptape/cita
[      color       ]: true
[      debug       ]: false
[       json       ]: true
[    encryption    ]: secp256k1
[ completion_style ]: List
[    edit_style    ]: Emacs
[   save_private   ]: false
➜  cita git:(yangby-debug) ✗ cita-cli --version
cita-cli 0.19.2+38478e392c5aba4679c5c79e6ce7da18a1440006

startup failed

start the binary but nothing output.
strace show :
stat("/home/xxx/.terminfo", 0x7fff74307710) = -1 ENOENT (No such file or directory)
stat("/etc/terminfo", 0x7fff74307710) = -1 ENOENT (No such file or directory)

need any dependence?

query tps?

Can cita-cli add TPS to the query chain?

typo

➜  cita-cli git:(master) cita-cli             

   ._____. ._____.  _. ._   ._____. ._____.   ._.   ._____. ._____.
   | .___| |___. | | | | |  |___. | |_____|   |_|   |___. | |_____|
   | |     ._. | | | |_| |  ._. | |   ._.   ._____. ._. | | ._____.
   | |     | | |_| \_____/  | | |_/   | |   | ,_, | | | |_/ |_____|
   | |___. | | ._.   ._.    | |       | |   | | | | | |     ._____.
   |_____| |_| |_|   |_|    |_|       |_|   |_| |_| |_|     |_____|

[       url        ]: http47.97.191.27:1337
[       pwd        ]: /home/u2/cryptape/cita-cli/cita-cli
[      color       ]: true
[      debug       ]: false
[       json       ]: true
[    encryption    ]: secp256k1
[ completion_style ]: List
[    edit_style    ]: Emacs
[   save_private   ]: false

[       url        ]: http47.97.191.27:1337

Is there any examples of how to get RawTransaction's Code

cita> rpc sendRawTransaction -h
>> rpc-sendRawTransaction 
Send a transaction and return transaction hash

USAGE:
    rpc sendRawTransaction [OPTIONS] --code <code> --private-key <private-key>

FLAGS:
    -h, --help    Prints help information

OPTIONS:
        --code <code>                  Binary content of the transaction
        --address <address>            The address of the invoking contract, default is empty to create contract
                                       [default: 0x]
        --height <height>              Current chain height, default query to the chain
        --chain-id <chain-id>          The chain_id of transaction
        --private-key <private-key>    The private key of transaction
        --quota <quota>                Transaction quota costs, default 10_000_000
        --value <value>                The value to send, default is 0
        --version <version>            The version of transaction, default is 0

but how to get the code?

I find tx sub-command:

cita> tx make -h
>> tx-make 
Construct transaction

USAGE:
    tx make [OPTIONS]

FLAGS:
    -h, --help    Prints help information

OPTIONS:
        --code <code>            Binary content of the transaction, default is empty [default: 0x]
        --address <address>      The address of the invoking contract, default is empty to create contract [default:
                                 0x]
        --height <height>        Current chain height, default query to the chain
        --chain-id <chain-id>    The chain_id of transaction, default query to the chain
        --quota <quota>          Transaction quota costs, default is 1_000_000
        --value <value>          The value to send, default is 0
        --version <version>      The version of transaction, default is 0

It also need the code when construct transaction

Upgrade Secp256k1

Update the algorithm library, relying on the original address:

secp256k1 = "0.12.2"

run scm Group inGroup --address "Groupaddress" error and exit cli

  • new group
    scm GroupManagement newGroup --origin 0xfFFfFFFFFffFFfffFFFFfffffFffffFFfF020009 --name 7770660000000000000000000000000000000000000000000000000000000000 --accounts "[0x55ef2e38778efc2b6c5bb885a3cac84fbe170fdb,0x459f36aa7b9eb368a3c97abe365afc551d923455]" --private-key 0x5f0258a4778057a8a7d97809bd209055b2fbafa654ce7d31ec7191066b9225e6

  • scm Group inGroup --address 0xce6cd8f8562e31d44b1101986204cec34b1df025
    output:
    thread 'main' panicked at 'called Option::unwrap() on a None value', src/libcore/option.rs:355:21
    note: Run with RUST_BACKTRACE=1 for a backtrace.
    image

ABI cannot parse address

cita-cli ethabi encode function --file broker.abi --name audit --param 0xe02f4d2ed46397c363c05d2d747e55611a6f22b9 --param 1

ABI error: Cannot parse address

compile cita-cli, report error: use of deprecated item 'protobuf

when run $ cargo install --path .
some error occur below:
Installing cita-cli v20.2.2 (/Users/tom/Downloads/cita-cli/cita-cli)
Updating crates.io index
Compiling cita-tool v0.19.0 (/Users/tom/Downloads/cita-cli/cita-tool)
error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:162:19
|
162 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: lint level defined here
--> cita-tool/src/lib.rs:3:9
|
3 | #![deny(warnings)]
| ^^^^^^^^
= note: #[deny(deprecated)] implied by #[deny(warnings)]

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:189:19
|
189 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:642:19
|
642 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:709:19
|
709 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:888:19
|
888 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:915:19
|
915 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:1081:19
|
1081 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:1108:19
|
1108 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:1372:19
|
1372 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:1414:19
|
1414 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:1855:19
|
1855 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:1922:19
|
1922 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:2148:19
|
2148 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:2180:19
|
2180 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:2410:19
|
2410 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:2442:19
|
2442 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:2592:19
|
2592 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:2614:19
|
2614 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:2850:19
|
2850 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:2882:19
|
2882 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:3091:19
|
3091 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:3118:19
|
3118 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:3304:19
|
3304 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:3331:19
|
3331 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:3507:19
|
3507 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:3534:19
|
3534 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:3669:19
|
3669 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:3691:19
|
3691 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:3751:19
|
3751 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:3806:19
|
3806 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::lazy::ONCE_INIT': Regenerate .proto files to use safer initializer
--> cita-tool/src/protos/blockchain.rs:4077:11
|
4077 | lock: ::protobuf::lazy::ONCE_INIT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:178:17
|
178 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:698:17
|
698 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:904:17
|
904 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:1097:17
|
1097 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:1403:17
|
1403 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:1911:17
|
1911 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:2169:17
|
2169 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:2431:17
|
2431 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:2603:17
|
2603 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:2871:17
|
2871 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:3107:17
|
3107 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:3320:17
|
3320 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:3523:17
|
3523 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::message::MessageDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:3680:17
|
3680 | ::protobuf::reflect::MessageDescriptor::new::(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::enums::EnumDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:3756:17
|
3756 | ::protobuf::reflect::EnumDescriptor::new("ProofType", file_descriptor_proto())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of deprecated item 'protobuf::reflect::enums::EnumDescriptor::new': Please regenerate .rs files from .proto files to use newer APIs
--> cita-tool/src/protos/blockchain.rs:3811:17
|
3811 | ::protobuf::reflect::EnumDescriptor::new("Crypto", file_descriptor_proto())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 47 previous errors

error: failed to compile cita-cli v20.2.2 (/Users/tom/Downloads/cita-cli/cita-cli), intermediate artifacts can be found at /Users/tom/Downloads/cita-cli/target

Caused by:
could not compile cita-tool.

can give me some advice, thanks.

host or url?

switch --host 47.97.191.27:1337
[       url        ]: 47.97.191.27:1337

This makes me confused. I think url is better.

debug json miss id

cita> rpc getStorageAt --address 0xffffffffffffffffffffffffffffffffff020000 --key 0x0000000000000000000000000000000000000000000000000000000000000027 --height 1000
<--{"jsonrpc":"2.0","method":"getStorageAt","params":["0xffffffffffffffffffffffffffffffffff020000","0x0000000000000000000000000000000000000000000000000000000000000027","1000"]}
{
"id": 1,
"jsonrpc": "2.0",
"result": "0x746573742d636861696e00000000000000000000000000000000000000000014"
}

After enable the debug feature, there will be ouput the json content that sent to jsonrpc.
It's very useful when debug.
But I found that miss the id field.
The complete json should be like this

curl -X POST --data '{"jsonrpc":"2.0","method":"getStorageAt","params":["0xffffffffffffffffffffffffffffffffff020000","0x0000000000000000000000000000000000000000000000000000000000000027","latest"], "id":1}' 127.0.0.1:1337

scm Grcop提示有误

  1. 输入 scm gro
  2. 按TAB键,变成 scm Group
  3. 再按两次TAB键,变成 scm inGroup,与保持cm Group不变的预期不一致。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.