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
357fc7d4
Unverified
Commit
357fc7d4
authored
Nov 19, 2024
by
Michael Amadi
Committed by
GitHub
Nov 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix challenge struct natspec (#12951)
* fix challenge struct natspec * semver bump * semver bump * semver bump
parent
e32278e8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
semver-lock.json
packages/contracts-bedrock/snapshots/semver-lock.json
+2
-2
DataAvailabilityChallenge.sol
...es/contracts-bedrock/src/L1/DataAvailabilityChallenge.sol
+4
-3
No files found.
packages/contracts-bedrock/snapshots/semver-lock.json
View file @
357fc7d4
{
{
"src/L1/DataAvailabilityChallenge.sol"
:
{
"src/L1/DataAvailabilityChallenge.sol"
:
{
"initCodeHash"
:
"0x
bd00d6568abab3e7fc211c40d682862242f25493010a4a097bd1f3b45c8c87c3
"
,
"initCodeHash"
:
"0x
240a9b695e1ab73692672b907c2ae147ee9224e95a03c02d99333afe186c3d2f
"
,
"sourceCodeHash"
:
"0x
58b587034a67b4bb718abbaded8ac23b082c0971105874bcc42c23f051c67f6e
"
"sourceCodeHash"
:
"0x
c6ab0e64cfbdcfa6de0a480426263712b3ddbabe56a88ec7c02556cb432e6b02
"
},
},
"src/L1/L1CrossDomainMessenger.sol"
:
{
"src/L1/L1CrossDomainMessenger.sol"
:
{
"initCodeHash"
:
"0x2e9cb3ceb5e55341b311f0666ef7655df4fafae75afdfbcd701cd9c9b2b017d5"
,
"initCodeHash"
:
"0x2e9cb3ceb5e55341b311f0666ef7655df4fafae75afdfbcd701cd9c9b2b017d5"
,
...
...
packages/contracts-bedrock/src/L1/DataAvailabilityChallenge.sol
View file @
357fc7d4
...
@@ -24,9 +24,10 @@ enum CommitmentType {
...
@@ -24,9 +24,10 @@ enum CommitmentType {
}
}
/// @dev A struct representing a single DA challenge.
/// @dev A struct representing a single DA challenge.
/// @custom:field status The status of the challenge.
/// @custom:field challenger The address that initiated the challenge.
/// @custom:field challenger The address that initiated the challenge.
/// @custom:field lockedBond The amount of ETH bond that was locked by the challenger.
/// @custom:field startBlock The block number at which the challenge was initiated.
/// @custom:field startBlock The block number at which the challenge was initiated.
/// @custom:field resolvedBlock The block number at which the challenge was resolved.
struct Challenge {
struct Challenge {
address challenger;
address challenger;
uint256 lockedBond;
uint256 lockedBond;
...
@@ -94,8 +95,8 @@ contract DataAvailabilityChallenge is OwnableUpgradeable, ISemver {
...
@@ -94,8 +95,8 @@ contract DataAvailabilityChallenge is OwnableUpgradeable, ISemver {
event BalanceChanged(address account, uint256 balance);
event BalanceChanged(address account, uint256 balance);
/// @notice Semantic version.
/// @notice Semantic version.
/// @custom:semver 1.0.1-beta.
2
/// @custom:semver 1.0.1-beta.
3
string public constant version = "1.0.1-beta.
2
";
string public constant version = "1.0.1-beta.
3
";
/// @notice The fixed cost of resolving a challenge.
/// @notice The fixed cost of resolving a challenge.
/// @dev The value is estimated by measuring the cost of resolving with `bytes(0)`
/// @dev The value is estimated by measuring the cost of resolving with `bytes(0)`
...
...
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