We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
执行: {"method":"sendRawTransaction","id":1,"jsonrpc":"2.0","params":[1,"f8ef9f65f0d06e39dc3c08e32ac10a5070858962bc6c0f5760baca823f2d5582d03f85174876e7ff8609184e729fff82020394d6f1a71052366dbae2f7ab2d5d5845e77965cf0d80b86448f85bce000000000000000000000000000000000000000000000000000000000000001bf5bd8a9e7ba8b936ea704292ff4aaa5797bf671fdc8526dcd159f23c1f5a05f44e9fa862834dc7cb4541558f2b4961dc39eaaf0af7f7395028658d0e01b86a371ca00b2b3fabd8598fefdda4efdb54f626367fc68e1735a8047f0f1c4f840255ca1ea0512500bc29f4cfe18ee1c88683006d73e56c934100b8abf4d2334560e1d2f75e"]}
报以下错误:
{"code":-32603,"data":null,"message":"INTERNAL_ERROR: : INTERNAL_ERROR: : /FISCO-BCOS/libdevcore/RLP.h(382): Throw in function _T dev::RLP::toInt(int) const [_T = boost::multiprecision::number<boost::multiprecision::backends::cpp_int_backend<256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void>, boost::multiprecision::et_off>]\nDynamic exception type: boost::exception_detail::clone_impldev::BadCast\nstd::exception::what: std::exception\n[dev::eth::tag_field*] = invalid rc2 transaction format: [ 0x1, 0x0, 0x419CE0, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x0, 0x0, 0x1B, 0xF643ACC5126E966BD90E79A5E8266CF7EFDF18CFB332ADCDF9051719D119F6B5, 0x419A975EC37FAD0BE4BB0F42965D662262F89F1A0888C4E5B6E565DB38C39CC8 ] RLP: f860018083419ce094000000000000000000000000000000000000000080801ba0f643acc5126e966bd90e79a5e8266cf7efdf18cfb332adcdf9051719d119f6b5a0419a975ec37fad0be4bb0f42965d662262f89f1a0888c4e5b6e565db38c39cc8\n"}
另外,在官方例子 .transTest.sh 脚本中的第39行,有: txBytes="f8eca003eb675ec791c2d19858c91d0046821c27d815e2e9c15${random_id}0a8402faf08082${limit}948c17cf316c1063ab6c89df875e96c9f0f5b2f74480b8644ed3885e0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a464953434f2042434f53000000000000000000000000000000000000000000000101801ba09edf7c0cb63645442aff11323916d51ec5440de979950747c0189f338afdcefda02f3473184513c6a3516e066ea98b7cfb55a79481c9db98e658dd016c37f03dcf"
这是sendRawTransaction的params字段的第2个参数。请问: 1、f8eca003eb675ec791c2d19858c91d0046821c27d815e2e9c15 这段值是什么? 2、0a8402faf08082 这段值是什么? 3、948c17cf316c1063ab6c89df875e96c9f0f5b2f74480b8644ed3885e0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a464953434f2042434f53000000000000000000000000000000000000000000000101801ba09edf7c0cb63645442aff11323916d51ec5440de979950747c0189f338afdcefda02f3473184513c6a3516e066ea98b7cfb55a79481c9db98e658dd016c37f03dcf 这段值是要发送交易的数据么?
The text was updated successfully, but these errors were encountered:
.transTest.sh脚本用于测试使用,在脚本中内置了一条交易。 整个txBytes是交易序列化后的结果。@debugking 报错是交易格式不对,请问你是怎么拼出来的交易呢?
.transTest.sh
Sorry, something went wrong.
这个问题最后解决了吗?
我也遇到了相同的问题请求解决了么?
一般是拼装的交易格式不对
bxq2011hust
fqliao
No branches or pull requests
执行:
{"method":"sendRawTransaction","id":1,"jsonrpc":"2.0","params":[1,"f8ef9f65f0d06e39dc3c08e32ac10a5070858962bc6c0f5760baca823f2d5582d03f85174876e7ff8609184e729fff82020394d6f1a71052366dbae2f7ab2d5d5845e77965cf0d80b86448f85bce000000000000000000000000000000000000000000000000000000000000001bf5bd8a9e7ba8b936ea704292ff4aaa5797bf671fdc8526dcd159f23c1f5a05f44e9fa862834dc7cb4541558f2b4961dc39eaaf0af7f7395028658d0e01b86a371ca00b2b3fabd8598fefdda4efdb54f626367fc68e1735a8047f0f1c4f840255ca1ea0512500bc29f4cfe18ee1c88683006d73e56c934100b8abf4d2334560e1d2f75e"]}
报以下错误:
{"code":-32603,"data":null,"message":"INTERNAL_ERROR: : INTERNAL_ERROR: : /FISCO-BCOS/libdevcore/RLP.h(382): Throw in function _T dev::RLP::toInt(int) const [_T = boost::multiprecision::number<boost::multiprecision::backends::cpp_int_backend<256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void>, boost::multiprecision::et_off>]\nDynamic exception type: boost::exception_detail::clone_impldev::BadCast\nstd::exception::what: std::exception\n[dev::eth::tag_field*] = invalid rc2 transaction format: [ 0x1, 0x0, 0x419CE0, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x0, 0x0, 0x1B, 0xF643ACC5126E966BD90E79A5E8266CF7EFDF18CFB332ADCDF9051719D119F6B5, 0x419A975EC37FAD0BE4BB0F42965D662262F89F1A0888C4E5B6E565DB38C39CC8 ] RLP: f860018083419ce094000000000000000000000000000000000000000080801ba0f643acc5126e966bd90e79a5e8266cf7efdf18cfb332adcdf9051719d119f6b5a0419a975ec37fad0be4bb0f42965d662262f89f1a0888c4e5b6e565db38c39cc8\n"}
另外,在官方例子 .transTest.sh 脚本中的第39行,有:
txBytes="f8eca003eb675ec791c2d19858c91d0046821c27d815e2e9c15${random_id}0a8402faf08082${limit}948c17cf316c1063ab6c89df875e96c9f0f5b2f74480b8644ed3885e0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a464953434f2042434f53000000000000000000000000000000000000000000000101801ba09edf7c0cb63645442aff11323916d51ec5440de979950747c0189f338afdcefda02f3473184513c6a3516e066ea98b7cfb55a79481c9db98e658dd016c37f03dcf"
这是sendRawTransaction的params字段的第2个参数。请问:
1、f8eca003eb675ec791c2d19858c91d0046821c27d815e2e9c15 这段值是什么?
2、0a8402faf08082 这段值是什么?
3、948c17cf316c1063ab6c89df875e96c9f0f5b2f74480b8644ed3885e0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a464953434f2042434f53000000000000000000000000000000000000000000000101801ba09edf7c0cb63645442aff11323916d51ec5440de979950747c0189f338afdcefda02f3473184513c6a3516e066ea98b7cfb55a79481c9db98e658dd016c37f03dcf 这段值是要发送交易的数据么?
The text was updated successfully, but these errors were encountered: