We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01567bb commit e28f496Copy full SHA for e28f496
contracts/test/EthscriptionsToken.t.sol
@@ -304,7 +304,7 @@ contract EthscriptionsTokenTest is TestSetup {
304
305
// Bob tries to transfer tokens directly (not via NFT) - should revert
306
vm.prank(bob);
307
- vm.expectRevert("Transfers only allowed via Ethscriptions NFT");
+ vm.expectRevert(EthscriptionsERC20.TransfersOnlyViaEthscriptions.selector);
308
token.transfer(charlie, 500);
309
}
310
0 commit comments