Comments (4)
@tkoen93 thanks for detailed reporting.
Unfortunately I can't reproduce this bug. Please pull last commit from master branch, rebuild and try again.
from ewa.
@IGoryunov This issue occured when I first deployed the following contract (https://monitor.credits.com/Devs-Dapps-Testnet/Contract/DxCmxu1hsmKAzWW34ANty2DVeX1AsD1n8NXY771812jF):
import com.credits.scapi.annotations.*;
import com.credits.scapi.v0.*;
public class simpleContract extends SmartContract {
public String simple;
public int i;
public simpleContract() {
simple = "Simple contract return";
i = 0;
}
public String getSimple() {
i++;
return String.valueOf(i) + " " + simple;
}
}
After that I deployed the contract (https://monitor.credits.com/Devs-Dapps-Testnet/Contract/F6bsQbbCCrZdtmCMKabC2aVHzXTJacC9MpU4gYZWYPaR)
import com.credits.scapi.annotations.*;
import com.credits.scapi.v0.*;
public class simpleContract extends SmartContract {
public int i;
public simpleContract() {
i = 0;
}
public int getSimple() {
i++;
return i;
}
}
As shown in my previous post you can see that the API returns the correct method, also probably the reason why you see the correct method upon requesting the methods for this contract.
As it looks like this only happens when you deploy contracts yourself. To reproduce you might want to try and deploy the two contracts.
from ewa.
Could you check please last commit on master branch is 284b769? I sequentially reproduced actions that you describe above, but didn't get similar result
from ewa.
Seems to work allright in the wallet-desktop.jar that's included in the 4.2.417 testnet version.
from ewa.
Related Issues (3)
- EWA compilation HOT 7
- iOS wallet transaction HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ewa.