Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 1b7f08b

Browse files
authored
disable broken DAO Timelock (#448)
* disable broken DAO deployment * temporarily disable new tagging system
1 parent 430f09f commit 1b7f08b

21 files changed

+245
-230
lines changed

integration-tests/test/basic-l1-l2-communication.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe('Basic L1<>L2 Communication', async () => {
4848
})
4949

5050
describe('L2 => L1', () => {
51-
it('{tag:other} should be able to perform a withdrawal from L2 -> L1', async function () {
51+
it('{tag:boba} should be able to perform a withdrawal from L2 -> L1', async function () {
5252
await useDynamicTimeoutForWithdrawals(this, env)
5353

5454
const value = `0x${'77'.repeat(32)}`
@@ -75,7 +75,7 @@ describe('Basic L1<>L2 Communication', async () => {
7575
})
7676

7777
describe('L1 => L2', () => {
78-
it('{tag:other} should deposit from L1 -> L2', async () => {
78+
it('{tag:boba} should deposit from L1 -> L2', async () => {
7979
const value = `0x${'42'.repeat(32)}`
8080

8181
// Send L1 -> L2 message.
@@ -97,7 +97,7 @@ describe('Basic L1<>L2 Communication', async () => {
9797
expect((await L2SimpleStorage.totalCount()).toNumber()).to.equal(1)
9898
})
9999

100-
it('{tag:other} should have a receipt with a status of 1 for a successful message', async () => {
100+
it('{tag:boba} should have a receipt with a status of 1 for a successful message', async () => {
101101
const value = `0x${'42'.repeat(32)}`
102102

103103
// Send L1 -> L2 message.

integration-tests/test/contracts.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ describe('Contract interactions', () => {
3030
Factory__ERC20 = await ethers.getContractFactory('ERC20', env.l2Wallet)
3131
})
3232

33-
it('{tag:other} should successfully deploy the contract', async () => {
33+
it('{tag:boba} should successfully deploy the contract', async () => {
3434
contract = await Factory__ERC20.deploy(100000000, 'OVM Test', 8, 'OVM')
3535
await contract.deployed()
3636
})
3737

38-
it('{tag:other} should support approvals', async () => {
38+
it('{tag:boba} should support approvals', async () => {
3939
const spender = '0x' + '22'.repeat(20)
4040
const tx = await contract.approve(spender, 1000)
4141
await tx.wait()
@@ -54,7 +54,7 @@ describe('Contract interactions', () => {
5454
expect(logs[0].args._value).to.deep.equal(BigNumber.from(1000))
5555
})
5656

57-
it('{tag:other} should support transferring balances', async () => {
57+
it('{tag:boba} should support transferring balances', async () => {
5858
const tx = await contract.transfer(otherWallet.address, 1000)
5959
await tx.wait()
6060
const balFrom = await contract.balanceOf(env.l2Wallet.address)
@@ -72,7 +72,7 @@ describe('Contract interactions', () => {
7272
expect(logs[0].args._value).to.deep.equal(BigNumber.from(1000))
7373
})
7474

75-
it('{tag:other} should support being self destructed', async () => {
75+
it('{tag:boba} should support being self destructed', async () => {
7676
const tx = await contract.destroy()
7777
await tx.wait()
7878
const code = await env.l2Wallet.provider.getCode(contract.address)

integration-tests/test/erc20bridge.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('System setup', async () => {
5757
)
5858
})
5959

60-
it('{tag:other} should use the recently deployed ERC20 TEST token and send some from L1 to L2', async () => {
60+
it('{tag:boba} should use the recently deployed ERC20 TEST token and send some from L1 to L2', async () => {
6161
const preL1ERC20Balance = await L1ERC20.balanceOf(env.l1Wallet.address)
6262
const preL2ERC20Balance = await L2ERC20.balanceOf(env.l2Wallet.address)
6363

@@ -89,7 +89,7 @@ describe('System setup', async () => {
8989
)
9090
})
9191

92-
it('{tag:other} should transfer ERC20 TEST token to Kate', async () => {
92+
it('{tag:boba} should transfer ERC20 TEST token to Kate', async () => {
9393
const transferL2ERC20Amount = utils.parseEther('9')
9494
await depositERC20ToL2(env.l2Wallet)
9595
const preKateL2ERC20Balance = await L2ERC20.balanceOf(

integration-tests/test/erc20turing.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ describe('Turing 256 Bit Random Number Test', async () => {
101101
).attach(L1StandardBridgeAddress)
102102
})
103103

104-
it('{tag:other} Should transfer BOBA to L2', async () => {
104+
it('{tag:boba} Should transfer BOBA to L2', async () => {
105105
const depositBOBAAmount = utils.parseEther('10')
106106

107107
const preL1BOBABalance = await L1BOBAToken.balanceOf(env.l1Wallet.address)
@@ -136,7 +136,7 @@ describe('Turing 256 Bit Random Number Test', async () => {
136136
)
137137
})
138138

139-
it('{tag:other} contract should be whitelisted', async () => {
139+
it('{tag:boba} contract should be whitelisted', async () => {
140140
const tr2 = await TuringHelper.checkPermittedCaller(random.address)
141141
const res2 = await tr2.wait()
142142
const rawData = res2.events[0].data
@@ -148,7 +148,7 @@ describe('Turing 256 Bit Random Number Test', async () => {
148148
)
149149
})
150150

151-
it('{tag:other} Should register and fund your Turing helper contract in turingCredit', async () => {
151+
it('{tag:boba} Should register and fund your Turing helper contract in turingCredit', async () => {
152152
env = await OptimismEnv.new()
153153

154154
const depositAmount = utils.parseEther('0.1')
@@ -180,7 +180,7 @@ describe('Turing 256 Bit Random Number Test', async () => {
180180
expect(postBalance).to.be.deep.eq(preBalance.add(depositAmount))
181181
})
182182

183-
it('{tag:other} should get a 256 bit random number', async () => {
183+
it('{tag:boba} should get a 256 bit random number', async () => {
184184
const tr = await random.getRandom()
185185
const res = await tr.wait()
186186
expect(res).to.be.ok

integration-tests/test/fee-payment.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('Fee Payment Integration Tests', async () => {
3232
env = await OptimismEnv.new()
3333
})
3434

35-
it('{tag:other} should return eth_gasPrice equal to OVM_GasPriceOracle.gasPrice', async () => {
35+
it('{tag:boba} should return eth_gasPrice equal to OVM_GasPriceOracle.gasPrice', async () => {
3636
const assertGasPrice = async () => {
3737
const gasPrice = await env.l2Wallet.getGasPrice()
3838
const oracleGasPrice = await env.gasPriceOracle.gasPrice()
@@ -47,7 +47,7 @@ describe('Fee Payment Integration Tests', async () => {
4747
assertGasPrice()
4848
})
4949

50-
it('{tag:other} Paying a nonzero but acceptable gasPrice fee', async () => {
50+
it('{tag:boba} Paying a nonzero but acceptable gasPrice fee', async () => {
5151
await setPrices(env, 1000)
5252

5353
const amount = utils.parseEther('0.0000001')
@@ -91,7 +91,7 @@ describe('Fee Payment Integration Tests', async () => {
9191
await setPrices(env, 1)
9292
})
9393

94-
it('{tag:other} should compute correct fee', async () => {
94+
it('{tag:boba} should compute correct fee', async () => {
9595
await setPrices(env, 1000)
9696

9797
const preBalance = await env.l2Wallet.getBalance()
@@ -136,11 +136,11 @@ describe('Fee Payment Integration Tests', async () => {
136136
await setPrices(env, 1)
137137
})
138138

139-
it('{tag:other} should not be able to withdraw fees before the minimum is met', async () => {
139+
it('{tag:boba} should not be able to withdraw fees before the minimum is met', async () => {
140140
await expect(env.sequencerFeeVault.withdraw()).to.be.rejected
141141
})
142142

143-
it('{tag:other} should be able to withdraw fees back to L1 once the minimum is met', async function () {
143+
it('{tag:boba} should be able to withdraw fees back to L1 once the minimum is met', async function () {
144144
const l1FeeWallet = await env.sequencerFeeVault.l1FeeWallet()
145145
const balanceBefore = await env.l1Wallet.provider.getBalance(l1FeeWallet)
146146
const withdrawalAmount = await env.sequencerFeeVault.MIN_WITHDRAWAL_AMOUNT()

integration-tests/test/hardfork.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('Hard forks', () => {
4646
describe('Berlin', () => {
4747
// https://eips.ethereum.org/EIPS/eip-2929
4848
describe('EIP-2929', () => {
49-
it('{tag:other} should update the gas schedule', async () => {
49+
it('{tag:boba} should update the gas schedule', async () => {
5050
// Get the tip height
5151
const tip = await env.l2Provider.getBlock('latest')
5252

@@ -81,7 +81,7 @@ describe('Hard forks', () => {
8181

8282
// https://eips.ethereum.org/EIPS/eip-2565
8383
describe('EIP-2565', async () => {
84-
it('{tag:other} should become cheaper', async () => {
84+
it('{tag:boba} should become cheaper', async () => {
8585
const tip = await env.l2Provider.getBlock('latest')
8686

8787
const tx = await Precompiles.expmod(64, 1, 64, { gasLimit: 5_000_000 })
@@ -111,7 +111,7 @@ describe('Hard forks', () => {
111111
const bytes32Zero = '0x' + '00'.repeat(32)
112112
const bytes32NonZero = '0x' + 'ff'.repeat(32)
113113

114-
it('{tag:other} should lower the refund for storage clear', async () => {
114+
it('{tag:boba} should lower the refund for storage clear', async () => {
115115
const tip = await env.l2Provider.getBlock('latest')
116116

117117
const value = await SelfDestruction.callStatic.data()
@@ -183,7 +183,7 @@ describe('Hard forks', () => {
183183
}
184184
})
185185

186-
it('{tag:other} should remove the refund for selfdestruct', async () => {
186+
it('{tag:boba} should remove the refund for selfdestruct', async () => {
187187
const tip = await env.l2Provider.getBlock('latest')
188188

189189
// Send transaction with a large gas limit

0 commit comments

Comments
 (0)