Skip to content
New issue

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

交易回执,gasUsed数据太大 #778

Open
zorro215 opened this issue Jun 13, 2022 · 1 comment
Open

交易回执,gasUsed数据太大 #778

zorro215 opened this issue Jun 13, 2022 · 1 comment

Comments

@zorro215
Copy link

zorro215 commented Jun 13, 2022

image

问题描述:
镜像 fiscoorg/fiscobcos:v2.9.0
使用helloworld合约,返回gas消耗大的离谱。
复现步骤:

  1. 部署helloword合约
pragma solidity ^0.4.24;

contract HelloWorld {
    string name;

    function HelloWorld() {
        name = "Hello, World!";
    }

    function get()constant returns(string) {
        return name;
    }

    function set(string n) {
        name = n;
    }
}
  1. 调用set方法,gasused正常,参数传入如下:
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
  1. 调用set方法,参数传入:1234 ,gasused超大,如上图。
@CodingCattwo
Copy link
Contributor

java-sdk正在修复中..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants