Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 7790

questions for finding and squashing bugs in smart contracts and decentralized development

2 votes

debugging solidity contract geth

From my personal experience, I'd suggest you to try truffle because deploying contract on geth is a hectic job. Truffle gives you CLI to deploy your contract and it's pretty handy too. You can play wi …
Sanchit's user avatar
  • 3,512
1 vote

Where can I get feedback on how to improve my smart contract?

I just had a look at your contract and one important feedback I can give right away is, that your smart contract is not upgradable. Which means, if this contract is deployed, it can never be killed. I …
Sanchit's user avatar
  • 3,512
1 vote

remove contract on ethereum blockchain using web3

As @manuhalo said, You can not remove or update a contract from web3 unless your contract is upgradable. Also, to call selfDestruct you need to have a function(preferably with the name - Kill) in your …
Sanchit's user avatar
  • 3,512
18 votes
Accepted

How can you handle an expected throw in a contract test using truffle and ethereum-testRPC?

You can use OpenZeppelin's expectThrow helper - Source: https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/test/helpers/expectThrow.js export default async promise => { try { …
Sanchit's user avatar
  • 3,512