-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Method Deprecated #3366
Comments
Thanks for this. I made a pull request to change the code on the .org website. |
For anyone else who also encounters this issue and wonders what's going on...
According to this document: ethereum/ethereum-org@73168f8 This is the rationale behind the changes:
This is needed due to some changes in the Solidity compiler... but it's fixing a different issue than the one reported by @DsEsteban above. The Reported IssueI can reproduce this issue by connecting https://wallet.ethereum.org to a local Parity node, v1.10.0. Copying the newly updated contract... or any contract, valid or not, still gives this error on https://wallet.ethereum.org: The wallet is probably making an
Ah! So compilation via RPC is deprecated. This is actually an EIP: ethereum/EIPs#209 The compile RPC methods were removed from Parity in February 2017: openethereum/parity-ethereum#4577 It looks like, when Meteor-Dapp-Wallet is running in the Mist browser locally, it uses your local path Clarification appreciated! |
@alexvandesande The error is still occurring unless you change the name of the function so that it doesn't match the contract name, which, is different than how it's explained here: |
pragma solidity ^0.4.2;
Hello, im using this contract for practicing reasons. It's the simplest one i found...
contract MyToken {
/* This creates an array with all balances */
mapping (address => uint256) public balanceOf;
}
... and im getting in : wallet.ethereum.org, this error:
Could not compile source code.
Error: Method deprecated
What can i do? whats wrong with it?
This is the one at https://ethereum.org/token#minimum-viable-token, it should work, isnt it?
thx for any help
The text was updated successfully, but these errors were encountered: