Commit 357fc7d4 authored by Michael Amadi's avatar Michael Amadi Committed by GitHub

fix challenge struct natspec (#12951)

* fix challenge struct natspec

* semver bump

* semver bump

* semver bump
parent e32278e8
{ {
"src/L1/DataAvailabilityChallenge.sol": { "src/L1/DataAvailabilityChallenge.sol": {
"initCodeHash": "0xbd00d6568abab3e7fc211c40d682862242f25493010a4a097bd1f3b45c8c87c3", "initCodeHash": "0x240a9b695e1ab73692672b907c2ae147ee9224e95a03c02d99333afe186c3d2f",
"sourceCodeHash": "0x58b587034a67b4bb718abbaded8ac23b082c0971105874bcc42c23f051c67f6e" "sourceCodeHash": "0xc6ab0e64cfbdcfa6de0a480426263712b3ddbabe56a88ec7c02556cb432e6b02"
}, },
"src/L1/L1CrossDomainMessenger.sol": { "src/L1/L1CrossDomainMessenger.sol": {
"initCodeHash": "0x2e9cb3ceb5e55341b311f0666ef7655df4fafae75afdfbcd701cd9c9b2b017d5", "initCodeHash": "0x2e9cb3ceb5e55341b311f0666ef7655df4fafae75afdfbcd701cd9c9b2b017d5",
......
...@@ -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)`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment