Fix/update adding contributors #108

Merged
raucao merged 2 commits from feature/add_contributor into master 2019-04-29 11:44:16 +00:00
raucao commented 2019-04-25 12:25:51 +00:00 (Migrated from github.com)
No description provided.
bumi (Migrated from github.com) approved these changes 2019-04-25 20:32:34 +00:00
@@ -136,2 +140,3 @@
.then((data) => {
return this.kredits.Contributor.add(attributes, { gasLimit: 350000 })
.then(data => {
console.debug('[kredits] add contributor response', data);
bumi (Migrated from github.com) commented 2019-04-25 20:32:11 +00:00

as this is only for development we should set this manually in the metamask interface.
I have the "Advanced gas controls" setting turned on - so the gas settings form is directly displayed when the transaction needs to be confirmed. This makes it easy to change them.

as this is only for development we should set this manually in the metamask interface. I have the "Advanced gas controls" setting turned on - so the gas settings form is directly displayed when the transaction needs to be confirmed. This makes it easy to change them.
raucao (Migrated from github.com) reviewed 2019-04-25 22:18:57 +00:00
@@ -136,2 +140,3 @@
.then((data) => {
return this.kredits.Contributor.add(attributes, { gasLimit: 350000 })
.then(data => {
console.debug('[kredits] add contributor response', data);
raucao (Migrated from github.com) commented 2019-04-25 22:18:57 +00:00

Without this, I don't even get to the confirmation screen. The error happens beforehand, because the limit is too high.

Without this, I don't even get to the confirmation screen. The error happens beforehand, because the limit is too high.
bumi (Migrated from github.com) reviewed 2019-04-25 22:23:23 +00:00
@@ -136,2 +140,3 @@
.then((data) => {
return this.kredits.Contributor.add(attributes, { gasLimit: 350000 })
.then(data => {
console.debug('[kredits] add contributor response', data);
bumi (Migrated from github.com) commented 2019-04-25 22:23:23 +00:00

hmmm, will test it here again tomorrow. thought it worked for me, but maybe I was missing something.

do you have an idea how we can best handle this? because so far it seems it is some development issue - and is not needed with rinkeby.

hmmm, will test it here again tomorrow. thought it worked for me, but maybe I was missing something. do you have an idea how we can best handle this? because so far it seems it is some development issue - and is not needed with rinkeby.
raucao (Migrated from github.com) reviewed 2019-04-25 22:27:17 +00:00
@@ -136,2 +140,3 @@
.then((data) => {
return this.kredits.Contributor.add(attributes, { gasLimit: 350000 })
.then(data => {
console.debug('[kredits] add contributor response', data);
raucao (Migrated from github.com) commented 2019-04-25 22:27:17 +00:00

It happens to me on Rinkeby.

It happens to me on Rinkeby.
raucao commented 2019-04-29 11:43:36 +00:00 (Migrated from github.com)

Removed WIP, because the contributor management UI is actually part of the next milestone. But this already works in general, so is good to merge.

Removed WIP, because the contributor management UI is actually part of the next milestone. But this already works in general, so is good to merge.
Sign in to join this conversation.