Giter Club home page Giter Club logo

Comments (10)

mlmonk avatar mlmonk commented on June 14, 2024

I am facing a similar issue but only with a few of my custom contracts. The contracts are deployed successfully but not registered. It makes it impossible to use Cakeshop APIs on these contracts.

from cakeshop.

chetan avatar chetan commented on June 14, 2024

@nv1620 Which version of cakeshop are you using? I just cut 0.9.1 yesterday. Please give that version a try and report back

from cakeshop.

chetan avatar chetan commented on June 14, 2024

@ice09 wrote:

  1. Greeter does work till deployment (address is displayed and contract is correctly deployed), but then a server error occurs (at the registration step?), so no interaction is possible.

When you switched to the latest version, did you keep your old data around or did you wipe it out?

  1. SimpleStorage cannot be deployed, error is unknown (a warning in the logs says that "String" is wrong type for "for private", but nothing was written in the corresponding textbox)

Sounds like a bug. Maybe there was some whitespace that got passed in by accident. I'll have to double check that.

from cakeshop.

chetan avatar chetan commented on June 14, 2024

@ice09 FYI, I also added a bunch of documentation today of the various configuration options, including some info about the registry:

https://github.com/jpmorganchase/cakeshop/blob/master/docs/configuration.md#contract-registry

As of the latest build (the version you ran is fine) it should also print some startup messages showing which registry address is being used. Something like this:

 INFO 2017-01-04 20:46:03,396 [main] (BlockchainInitializerTask.java:124) Loaded contract registry address 0x098da5468f564063e4c35af412bdc409d7a6d89c

from cakeshop.

chetan avatar chetan commented on June 14, 2024
  1. SimpleStorage cannot be deployed, error is unknown (a warning in the logs says that "String" is wrong type for "for private", but nothing was written in the corresponding textbox)

I've seen this warning in the past but am not able to recreate it now. In any case, it can be safely ignored since you are using vanilla geth. The "private for" field is only relevant when using Quorum and will eventually be hidden when not running on it.

from cakeshop.

ice09 avatar ice09 commented on June 14, 2024

@chetan I am sure to have deleted the old data before trying the new "master"-branch version.
Regarding the contract registry, should I let you know the startup message? I will have to retry at home then.

from cakeshop.

mlmonk avatar mlmonk commented on June 14, 2024

@chetan I directly downloaded the war. I noticed that the contract registry works for 5 public methods but fails for 6 public methods(without throwing any error). The last prompt I get is "Waiting for contract to be registered".

What do you think could be the issue?

from cakeshop.

AugustoL avatar AugustoL commented on June 14, 2024

Having the same error here.

from cakeshop.

StevenBerryman avatar StevenBerryman commented on June 14, 2024

I'm having the same issue when deploying the Token Contract. The contract gets deployed to the chain but never gets registered and I can't see any errors in the node or cakeshop logs. I can get the SimpleStorage Contract registered but as soon as a contract gets beyond a certain length it fails to register it. The last prompt I get is "Waiting for contract to be registered".

I'm using the latest version 0.9.1

from cakeshop.

belyak avatar belyak commented on June 14, 2024

I have the same problem -- "Waiting for contract to be registered" with sample Bank contract.
Also it can be compiled only if I remove withdraw method - with withdraw compiler output contains only warning (unused .send result) and does not show final compilation result.

from cakeshop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.