Merge Karma into one contract

+ Update README contract addresses to reflect new upgradeable version on ropsten
+ Remove functions added to Karma that I was using to test the upgrade process
+ Add test for deploying Karma proxy successfully
This commit is contained in:
2021-05-06 11:55:30 -04:00
parent 320abf22e5
commit 23f61849ce
9 changed files with 505 additions and 92 deletions

15
test/Karma.proxy.test.js Normal file
View File

@@ -0,0 +1,15 @@
// Load dependencies
const { expect } = require('chai');
const { deployProxy, upgradeProxy} = require('@openzeppelin/truffle-upgrades');
// Load compiled artifacts
const Karma = artifacts.require('Karma');
// Start test block
contract('Karma (proxy)', function () {
// Test case
it('Karma deploys successfully', async function () {
// Increment
const karma = await Karma.new();
});
});