Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jewei1997 committed Jan 7, 2025
1 parent ddd86d5 commit 6c60f21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions contracts/test/EVMCompatabilityTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function delay() {

function debug(msg) {
// leaving commented out to make output readable (unless debugging)
console.log(msg)
// console.log(msg)
}

async function sendTransactionAndCheckGas(sender, recipient, amount) {
Expand Down Expand Up @@ -494,7 +494,7 @@ describe("EVM Test", function () {
expect(success).to.be.true
});

describe.only("EIP-1559", async function() {
describe("EIP-1559", async function() {
const zero = ethers.parseUnits('0', 'ether')
const highgp = ethers.parseUnits("400", "gwei");
const gp = ethers.parseUnits("100", "gwei");
Expand Down
2 changes: 0 additions & 2 deletions x/evm/keeper/fee.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ func (k *Keeper) AdjustDynamicBaseFeePerGas(ctx sdk.Context, blockGasUsed uint64
denominator := targetGasUsed
percentageEmpty := numerator.Quo(denominator)
adjustmentFactor := k.GetMaxDynamicBaseFeeDownwardAdjustment(ctx).Mul(percentageEmpty)
fmt.Println("[DEBUG] prevBaseFee", prevBaseFee)
fmt.Println("[DEBUG] adjustmentFactor", adjustmentFactor)
newBaseFee = prevBaseFee.Mul(sdk.NewDec(1).Sub(adjustmentFactor))
}

Expand Down

0 comments on commit 6c60f21

Please sign in to comment.