Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when adding application to registry #110

Open
Legitimate opened this issue Sep 8, 2018 · 1 comment
Open

Error when adding application to registry #110

Legitimate opened this issue Sep 8, 2018 · 1 comment

Comments

@Legitimate
Copy link

Legitimate commented Sep 8, 2018

Hello,
For WyoHackathon my team is using tcr and tcr-ui to develop a music charting application. I have deployed the tcr contracts to rinkeby, and I have tcr-ui loaded up. However, tcr-ui is using the Sunset registry contracts.
I changed the "registries" value for rinkeby in the index.js file of tcr-ui to our Name, RegistryFactory, PLRC, Token Contract, and Token Name, and Symbol. I didn't change the multihash, as I'm not sure what it is.
After saving and restarting yarn, the project still shows as the Sunset registry.
How do I update tcr-ui to reflect my team's smart contracts and information?

@Legitimate
Copy link
Author

Legitimate commented Sep 9, 2018

A nice fellow, Matt, helped us fix the issue with integrating our tcr smart contracts with tcr-ui. We are able to transfer our tokens using tcr-ui, however, adding an application no longer works. In the event logs, this is what I'm seeing:

tx reducer: logs/POLL_LOGS_FAILED bundle.js:143071:3
[Show/hide group.]  action logs/POLL_LOGS_FAILED @ 18:27:44.111 redux-logger.js:1
 prev state 
Object { listings: {…}, home: {…}, notifications: [], routing: {…}, transactions: {…} }
redux-logger.js:1
 action     
{…}
​```

"@@redux-saga/SAGA_ACTION": true

payload: TypeError: "logs[0] is undefined"
logsToListings$http://localhost:3000/static/js/bundle.js:141210:16tryCatchhttp://localhost:3000/static/js/bundle.js:125218:37invokehttp://localhost:3000/static/js/bundle.js:125452:22methodhttp://localhost:3000/static/js/bundle.js:125270:16nexthttp://localhost:3000/static/js/bundle.js:123276:18prochttp://localhost:3000/static/js/bundle.js:123235:3resolveIteratorhttp://localhost:3000/static/js/bundle.js:123421:5runCallEffecthttp://localhost:3000/static/js/bundle.js:123482:180runEffecthttp://localhost:3000/static/js/bundle.js:123400:648nexthttp://localhost:3000/static/js/bundle.js:123280:9currCbhttp://localhost:3000/static/js/bundle.js:123353:7endhttp://localhost:3000/static/js/bundle.js:123321:18conthttp://localhost:3000/static/js/bundle.js:123064:11nexthttp://localhost:3000/static/js/bundle.js:123286:26currCbhttp://localhost:3000/static/js/bundle.js:123353:7takeCbhttp://localhost:3000/static/js/bundle.js:123431:152puthttp://localhost:3000/static/js/bundle.js:122410:16unsubscribehttp://localhost:3000/static/js/bundle.js:122498:5chanhttp://localhost:3000/static/js/bundle.js:122519:9emithttp://localhost:3000/static/js/bundle.js:122363:7sagaMiddlewarehttp://localhost:3000/static/js/bundle.js:122928:9Shttp://localhost:3000/static/js/bundle.js:122112:7806dispatchhttp://localhost:3000/static/js/bundle.js:125072:18wrapSagaDispatchhttp://localhost:3000/static/js/bundle.js:124431:12runPutEffecthttp://localhost:3000/static/js/bundle.js:123454:19exechttp://localhost:3000/static/js/bundle.js:124094:5flushhttp://localhost:3000/static/js/bundle.js:124135:5asaphttp://localhost:3000/static/js/bundle.js:124108:5runPutEffecthttp://localhost:3000/static/js/bundle.js:123451:5runEffecthttp://localhost:3000/static/js/bundle.js:123400:307nexthttp://localhost:3000/static/js/bundle.js:123280:9currCbhttp://localhost:3000/static/js/bundle.js:123353:7
​```

type: "logs/POLL_LOGS_FAILED"
​
<prototype>: Object { … }
redux-logger.js:1
 next state 
{…}
​
home: {…}
​​
abis: Object { id: "Prospekt Park", registry: {…}, token: {…}, … }
​​
account: "0x8c9e3db346ad737f9529156e98c27a65e6db142e"
​​
balances: Object { ETH: "0", token: "0", registryAllowance: "0", … }
​​
contracts: Object { registry: {…}, token: {…}, voting: {…}, … }
​​
error: Error: "[ethjs-abi] while encoding address, invalid address value, not alphanumeric 20 byte hex string"
encodeAddresshttp://localhost:3000/static/js/bundle.js:44108:13encodeParamshttp://localhost:3000/static/js/bundle.js:43762:49encodeParamshttp://localhost:3000/static/js/bundle.js:43760:3encodeMethodhttp://localhost:3000/static/js/bundle.js:43837:23_callee$http://localhost:3000/static/js/bundle.js:40039:37tryCatchhttp://localhost:3000/static/js/bundle.js:125218:37invokehttp://localhost:3000/static/js/bundle.js:125452:22methodhttp://localhost:3000/static/js/bundle.js:125270:16stephttp://localhost:3000/static/js/bundle.js:3800:22defaulthttp://localhost:3000/static/js/bundle.js:3818:14Promisehttp://localhost:3000/static/js/bundle.js:11426:7defaulthttp://localhost:3000/static/js/bundle.js:3797:12performCallhttp://localhost:3000/static/js/bundle.js:40078:14contractFunctionhttp://localhost:3000/static/js/bundle.js:40132:21updateBalancesSaga$http://localhost:3000/static/js/bundle.js:140204:144tryCatchhttp://localhost:3000/static/js/bundle.js:125218:37invokehttp://localhost:3000/static/js/bundle.js:125452:22methodhttp://localhost:3000/static/js/bundle.js:125270:16nexthttp://localhost:3000/static/js/bundle.js:123276:18currCbhttp://localhost:3000/static/js/bundle.js:123353:7runSelectEffecthttp://localhost:3000/static/js/bundle.js:123664:7runEffecthttp://localhost:3000/static/js/bundle.js:123400:1212nexthttp://localhost:3000/static/js/bundle.js:123280:9currCbhttp://localhost:3000/static/js/bundle.js:123353:7runSelectEffecthttp://localhost:3000/static/js/bundle.js:123664:7runEffecthttp://localhost:3000/static/js/bundle.js:123400:1212nexthttp://localhost:3000/static/js/bundle.js:123280:9currCbhttp://localhost:3000/static/js/bundle.js:123353:7runSelectEffecthttp://localhost:3000/static/js/bundle.js:123664:7runEffecthttp://localhost:3000/static/js/bundle.js:123400:1212nexthttp://localhost:3000/static/js/bundle.js:123280:9currCbhttp://localhost:3000/static/js/bundle.js:123353:7runSelectEffecthttp://localhost:3000/static/js/bundle.js:123664:7runEffecthttp://localhost:3000/static/js/bundle.js:123400:1212nexthttp://localhost:3000/static/js/bundle.js:123280:9currCbhttp://localhost:3000/static/js/bundle.js:123353:7runSelectEffecthttp://localhost:3000/static/js/bundle.js:123664:7runEffecthttp://localhost:3000/static/js/bundle.js:123400:1212nexthttp://localhost:3000/static/js/bundle.js:123280:9currCbhttp://localhost:3000/static/js/bundle.js:123353:7runCallEffecthttp://localhost:3000/static/js/bundle.js:123482:229runEffecthttp://localhost:3000/static/js/bundle.js:123400:648nexthttp://localhost:3000/static/js/bundle.js:123280:9prochttp://localhost:3000/static/js/bundle.js:123235:3runForkEffecthttp://localhost:3000/static/js/bundle.js:123519:19runEffecthttp://localhost:3000/static/js/bundle.js:123400:872nexthttp://localhost:3000/static/js/bundle.js:123280:9currCbhttp://localhost:3000/static/js/bundle.js:123353:7takeCbhttp://localhost:3000/static/js/bundle.js:123431:152puthttp://localhost:3000/static/js/bundle.js:122410:16unsubscribehttp://localhost:3000/static/js/bundle.js:122498:5chanhttp://localhost:3000/static/js/bundle.js:122519:9emithttp://localhost:3000/static/js/bundle.js:122363:7sagaMiddlewarehttp://localhost:3000/static/js/bundle.js:122928:9Shttp://localhost:3000/static/js/bundle.js:122112:7806dispatchhttp://localhost:3000/static/js/bundle.js:125072:18wrapSagaDispatchhttp://localhost:3000/static/js/bundle.js:124431:12runPutEffecthttp://localhost:3000/static/js/bundle.js:123454:19exechttp://localhost:3000/static/js/bundle.js:124094:5flushhttp://localhost:3000/static/js/bundle.js:124135:5asaphttp://localhost:3000/static/js/bundle.js:124108:5runPutEffecthttp://localhost:3000/static/js/bundle.js:123451:5runEffecthttp://localhost:3000/static/js/bundle.js:123400:307nexthttp://localhost:3000/static/js/bundle.js:123280:9currCbhttp://localhost:3000/static/js/bundle.js:123353:7checkEffectEndhttp://localhost:3000/static/js/bundle.js:123577:9chCbAtKeyhttp://localhost:3000/static/js/bundle.js:123592:11currCbhttp://localhost:3000/static/js/bundle.js:123353:7runhttp://localhost:3000/static/js/bundle.js:11324:22notifyhttp://localhost:3000/static/js/bundle.js:11341:30flushhttp://localhost:3000/static/js/bundle.js:10266:9
​​
network: "rinkeby"
​​
parameters: Object { minDeposit: "1", applyStageLen: "600", commitStageLen: "600", … }
​​
tcr: Object { tokenName: "Ether Radio Token", tokenSymbol: "ERT", registryName: "Top 100 Billboard", … }
​​
<prototype>: Object { … }
​
listings: Object { listings: {…}, byID: (48) […] }
​
notifications: Array []
​
routing: Object { locationBeforeTransitions: null }
​
transactions: Object { error: false, txPanelListing: {}, txPanelMethod: "" }
​
<prototype>: Object { … }
redux-logger.js:1

@Legitimate Legitimate changed the title Issue with Contract Integration Error when adding application to registry Sep 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant