Skip to content

Commit

Permalink
skip grant tokens on coverage (missing baseFee)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemsos committed Mar 4, 2024
1 parent cbd0838 commit 97eca88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion smart-contracts/test/UnlockDiscountToken/grantTokens.js
Expand Up @@ -122,7 +122,7 @@ describe('UnlockDiscountToken (l2/sidechain) / granting Tokens', () => {
)
})

describe('grant by gas price', () => {
describeOrSkip('grant by gas price', () => {
let gasSpent

before(async () => {
Expand All @@ -144,6 +144,7 @@ describe('UnlockDiscountToken (l2/sidechain) / granting Tokens', () => {
)

const { baseFeePerGas } = await ethers.provider.getBlock(blockNumber)

// using estimatedGas instead of the actual gas used so this test does
// not regress as other features are implemented
gasSpent = baseFeePerGas.mul(estimateGas)
Expand Down

0 comments on commit 97eca88

Please sign in to comment.