Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Contract does not exist #4

Closed
ice09 opened this issue Dec 19, 2016 · 4 comments
Closed

Contract does not exist #4

ice09 opened this issue Dec 19, 2016 · 4 comments
Labels

Comments

@ice09
Copy link

ice09 commented Dec 19, 2016

System information

Cakeshop version or commit hash: 0.9.0

Geth/Quorum version testing against: 1.5.5-stable

OS & Version: Ubuntu 16.04 LTS

Expected behavior

no log statements

Actual behavior

log statements, cmp. "logs"

Steps to reproduce the behavior

Start cakeshop in attach mode.
Deploy contract
Stop cakeshop
Restart cakeshop

Backtrace/logs

/cakeshop/api/contract/list
 WARN 2016-12-19 20:59:26,261 [BlockSaver-42] (SavingBlockListener.java:118) Failed to load transaction details for tx
com.jpmorgan.cakeshop.error.APIException: Contract does not exist at 0xc47aa6c1987ec4737b40a327620c31fd1995602f
	at com.jpmorgan.cakeshop.service.impl.ContractServiceImpl.get(ContractServiceImpl.java:228)
@rfikki
Copy link

rfikki commented Dec 20, 2016

I can confirm this error repeats in the terminal on Windows.

@chetan chetan closed this as completed in aadb438 Dec 20, 2016
chetan added a commit that referenced this issue Dec 20, 2016
Properly load ContractRegistry address on startup (fixes #4)
@chetan
Copy link
Contributor

chetan commented Dec 20, 2016

I believe the fix I pushed should fix this, though there may be other issues with working against the testnet. I need to sync that still and verify that things work as expected.

@chetan chetan added the bug label Dec 20, 2016
@ice09
Copy link
Author

ice09 commented Dec 22, 2016

what is the best possibility to check, should I wait for a tag/nightly build or just build myself?

@chetan
Copy link
Contributor

chetan commented Dec 23, 2016

@ice09 I'll be cutting a new release after the holidays, so until then, the best option is to run from source. Building is fairly easy, whether running locally or for docker.

loccal build:

mvn -DskipTests clean package

docker build:

https://github.com/jpmorganchase/cakeshop/blob/master/docs/building.md#building-a-docker-image

fixanoid referenced this issue in fixanoid/cakeshop Feb 15, 2017
fixanoid pushed a commit that referenced this issue Jun 13, 2017
* added account display, lock status
* added fund transferance widget
* updated API docs
bmcd pushed a commit that referenced this issue Jul 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants