the web3 we are using is old and everything will change with web3 1.0
which is currently in beta for ages.
ethers.js seems to be a bit more lightweight and implements pretty much
the same API so let's give it a try.
the web3 we are using is old and everything will change with web3 1.0
which is currently in beta for ages.
ethers.js seems to be a bit more lightweight and implements pretty much
the same API so let's give it a try.
raucao
(Migrated from github.com)
reviewed 2018-04-04 11:17:32 +00:00
I think a cleaner way would be to abstract adding the contract handlers into its own function, and then just overwrite that one in the test. That would make it easier to reason with in both the controller as well as the test.
I think a cleaner way would be to abstract adding the contract handlers into its own function, and then just overwrite that one in the test. That would make it easier to reason with in both the controller as well as the test.
fsmanuel
(Migrated from github.com)
approved these changes 2018-04-04 12:06:47 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
the web3 we are using is old and everything will change with web3 1.0
which is currently in beta for ages.
ethers.js seems to be a bit more lightweight and implements pretty much
the same API so let's give it a try.
@@ -32,1 +34,4 @@let controller = this.subject({init: function() { }});addFixtures(controller);I think a cleaner way would be to abstract adding the contract handlers into its own function, and then just overwrite that one in the test. That would make it easier to reason with in both the controller as well as the test.
@@ -44,2 +31,3 @@web3Provided: false, // Web3 provided (using Mist Browser, Metamask et al.)ethProvider: null,currentUserAccounts: null, // default to not having an account. this is the wen web3 is loaded.❤️
@@ -32,1 +34,4 @@let controller = this.subject({init: function() { }});addFixtures(controller);Good idea! We'll do that in a follow up PR.
🎉