Skip to content

Commit

Permalink
🪡 ~~ Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
z0r0z committed Jan 10, 2024
1 parent 03e33ff commit 799438d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DagonTest:testBurn(address,uint96) (runs: 256, μ: 153049, ~: 153049)
DagonTest:testDeploy() (gas: 2232167)
DagonTest:testFailBurnOverBalance(address,uint96) (runs: 256, μ: 187597, ~: 188686)
DagonTest:testFailBurnOverThreshold(address,uint96) (runs: 256, μ: 218849, ~: 219938)
DagonTest:testDeploy() (gas: 2228960)
DagonTest:testFailBurnOverBalance(address,uint96) (runs: 256, μ: 187675, ~: 188686)
DagonTest:testFailBurnOverThreshold(address,uint96) (runs: 256, μ: 218927, ~: 219938)
DagonTest:testFailInvalidThresholdExceedsSupply() (gas: 159129)
DagonTest:testFailInvalidThresholdExceedsSupply2() (gas: 164264)
DagonTest:testFailInvalidThresholdNull() (gas: 159177)
Expand Down Expand Up @@ -31,4 +31,4 @@ DagonTest:testSetThreshold() (gas: 147627)
DagonTest:testSetToken(address) (runs: 256, μ: 148419, ~: 148419)
DagonTest:testSetURI() (gas: 165149)
DagonTest:testTransfer(address,address,uint88) (runs: 256, μ: 176217, ~: 176995)
DagonTest:testTransferWithAuth(address,address,uint96) (runs: 256, μ: 180136, ~: 180943)
DagonTest:testTransferWithAuth(address,address,uint96) (runs: 256, μ: 180225, ~: 180943)
2 changes: 1 addition & 1 deletion src/Dagon.sol
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ contract Dagon is ERC6909 {
{
assembly ("memory-safe") {
mstore(0x04, id) // Store the `id` argument.
mstore(0x00, 0x3f053e2d00000000000000000000000000000000000000000000000000000000) // `totalSupply(uint256)`.
mstore(0x00, 0x3f053e2d000000000000000000000000) // `totalSupply(uint256)`.
if iszero(staticcall(gas(), token, 0x10, 0x24, 0x00, 0x20)) { revert(codesize(), 0x00) }
supply := mload(0x00)
}
Expand Down

0 comments on commit 799438d

Please sign in to comment.