Closed bumi closed 4 years ago
I just tried out this branch with the Gitea test repo/issues, but I'm getting a revert exception on the tx. Looks the same as when we get the chat notification, except it didn't create the contribution on my devchain (which it does on master even when it complains).
thanks for testing. does it work for you with the master branch? wondering what causes the revert (error in the contract)... might be because no gas limit is set - we had seen this error various times on the devchain before.
Same on master when running locally, indeed.
But we really need to be able to run and develop with the devchain.
By the way, this his how you can easily run hal7000/hubot-kredits locally yourself:
npm link
npm link hubot-kredits
run.sh
: add local DAO address to env var near bottom of script./run.sh
and npm run ngrok
(the former gives you an interactive console/chat room, the latter catches hooks to hubot-dev.kosmos.org
on your machine)By the way, this his how you can easily run hal7000/hubot-kredits locally yourself:
That's pretty helpful. Shouldn't that go into the readme?
Good point. I added a new page to the wiki: https://wiki.kosmos.org/Kredits:Development
Please liberally add more information there!
zoom is a bit more annoying to test. so I'd suggest to take the risk and push this to production and handle any potential issues in new PRs.
Missing a kredits label for the PR to be ready to merge...
So far we have failed to globally handle the transaction nonces. The new ethers.js v5 comes with a NonceManager that helps us handling transaction nonces and automatically increases the nonce for each transaction.
We should first release: https://github.com/67P/kredits-contracts/pull/200
TODO: