Skip to content

fix: find 034#1066

Open
AlbertoMolinaIoBuilders wants to merge 5 commits intodevelopmentfrom
auditIssue/BBND-1502-FIND-034
Open

fix: find 034#1066
AlbertoMolinaIoBuilders wants to merge 5 commits intodevelopmentfrom
auditIssue/BBND-1502-FIND-034

Conversation

@AlbertoMolinaIoBuilders
Copy link
Copy Markdown
Contributor

Description

Type of change

  • Bug fix 🐞
  • New feature ✨
  • Breaking change 💥
  • Documentation update 📖
  • Refactor 🔧

Testing

Node version:

  • 20
  • 22
  • 24

Checklist

  • Style Guidelines followed ✅
  • Documentation Updated 📚
  • Linters - No New Warnings ⚠️
  • Local Tests Pass ✅
  • Effective Tests Added ✔️
  • No reduction of Coverage

Signed-off-by: Alberto Molina <alberto@io.builders>
Signed-off-by: Alberto Molina <alberto@io.builders>
…D-1502-FIND-034

Signed-off-by: Alberto Molina <alberto@io.builders>
Comment thread packages/ats/contracts/contracts/domain/asset/coupon/CouponStorageWrapper.sol Outdated
Signed-off-by: Alberto Molina <alberto@io.builders>
…D-1502-FIND-034

Signed-off-by: Alberto Molina <alberto@io.builders>
function nominalValueAtSnapshot(uint256 _snapshotID) external view returns (uint256 nominalValue_);

function nominalValueDecimalsAtSnapshot(uint256 _snapshotID) external view returns (uint8 nominalValueDecimals_);
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NatSpec, please

) external view override returns (uint8 nominalValueDecimals_) {
nominalValueDecimals_ = SnapshotsStorageWrapper.nominalValueDecimalsAtSnapshot(_snapshotID);
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

natspec please

unchecked {
staticInterfaceIds_[--selectorIndex] = type(INominalValueAtSnapshot).interfaceId;
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just build the two arrays as normal, without index.

Copy link
Copy Markdown
Contributor

@marcosio marcosio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just alignment with latest commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants