forked from cerc-io/laconicd-deprecated
ci: update test scripts and actions (#657)
* Update test scripts and CI * Update timeout * Update test-helper * fix issue for staking test * fix bug in test helper * reduce block time * Update test cases * use truffle 5.4.14 as global * remove two checks * reduce block time to 150ms * fix patches paths * Update test scripts Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
co-authored by
Federico Kunze Küllmer
parent
f70e4c1253
commit
8bf8d34376
@@ -35,10 +35,6 @@ contract('Lifecycle', () => {
|
||||
assert.isFalse(await lifecycle.isPetrified(), 'should not be petrified')
|
||||
})
|
||||
|
||||
it('has correct initialization block', async () => {
|
||||
assert.equal(await lifecycle.getInitializationBlock(), await web3.eth.getBlockNumber(), 'initialization block should be correct')
|
||||
})
|
||||
|
||||
it('cannot be re-initialized', async () => {
|
||||
await assertRevert(lifecycle.initializeMock()/*, ERRORS.INIT_ALREADY_INITIALIZED*/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user