Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
a3232d82
Commit
a3232d82
authored
Mar 31, 2023
by
James Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix comments
parent
d9277483
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Optimist.t.sol
...ontracts-periphery/contracts/foundry-tests/Optimist.t.sol
+4
-4
No files found.
packages/contracts-periphery/contracts/foundry-tests/Optimist.t.sol
View file @
a3232d82
...
@@ -411,7 +411,7 @@ contract OptimistTest is Optimist_Initializer {
...
@@ -411,7 +411,7 @@ contract OptimistTest is Optimist_Initializer {
}
}
/**
/**
* @notice
The
tokenURI should return the token uri for a minted token.
* @notice tokenURI should return the token uri for a minted token.
*/
*/
function test_tokenURI_returnsCorrectTokenURI_succeeds() external {
function test_tokenURI_returnsCorrectTokenURI_succeeds() external {
// we are using true but it can be any non empty value
// we are using true but it can be any non empty value
...
@@ -445,7 +445,7 @@ contract OptimistTest is Optimist_Initializer {
...
@@ -445,7 +445,7 @@ contract OptimistTest is Optimist_Initializer {
}
}
/**
/**
* @notice
It should revert if anybody attemps token transfer
.
* @notice
transferFrom should revert since Optimist is a SBT
.
*/
*/
function test_transferFrom_reverts() external {
function test_transferFrom_reverts() external {
_mockAllowlistTrueFor(bob);
_mockAllowlistTrueFor(bob);
...
@@ -470,7 +470,7 @@ contract OptimistTest is Optimist_Initializer {
...
@@ -470,7 +470,7 @@ contract OptimistTest is Optimist_Initializer {
}
}
/**
/**
* @notice
It should revert if anybody attemps approve
.
* @notice
approve should revert since Optimist is a SBT
.
*/
*/
function test_approve_reverts() external {
function test_approve_reverts() external {
_mockAllowlistTrueFor(bob);
_mockAllowlistTrueFor(bob);
...
@@ -510,7 +510,7 @@ contract OptimistTest is Optimist_Initializer {
...
@@ -510,7 +510,7 @@ contract OptimistTest is Optimist_Initializer {
}
}
/**
/**
* @notice Only
O
wner should be able to burn token.
* @notice Only
o
wner should be able to burn token.
*/
*/
function test_burn_byOwner_succeeds() external {
function test_burn_byOwner_succeeds() external {
_mockAllowlistTrueFor(bob);
_mockAllowlistTrueFor(bob);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment