Skip to content

Commit d1f8d66

Browse files
committed
fix: forge fmt formatting fixes for CI
1 parent 931bfa8 commit d1f8d66

4 files changed

Lines changed: 16 additions & 12 deletions

File tree

script/Deploy.s.sol

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ contract Deploy is Script {
2222
// Arc Testnet chain ID
2323
uint32 constant LOCAL_CHAIN_ID = 5042002;
2424
// Real ERC-8004 contracts on Arc Testnet
25-
address constant ERC8004_IDENTITY = 0x8004A818BFB912233c491871b3d84c89A494BD9e;
25+
address constant ERC8004_IDENTITY = 0x8004A818BFB912233c491871b3d84c89A494BD9e;
2626
address constant ERC8004_REPUTATION = 0x8004B663056A597Dffe9eCcC1965A193B7388713;
2727

2828
function run() external {
@@ -44,7 +44,13 @@ contract Deploy is Script {
4444
settler.configureDomain(DOMAIN_ETHEREUM, true, bytes32(0));
4545

4646
XcrowRouter router = new XcrowRouter(
47-
USDC, address(escrow), address(pricer), address(settler), ERC8004_IDENTITY, ERC8004_REPUTATION, LOCAL_CHAIN_ID
47+
USDC,
48+
address(escrow),
49+
address(pricer),
50+
address(settler),
51+
ERC8004_IDENTITY,
52+
ERC8004_REPUTATION,
53+
LOCAL_CHAIN_ID
4854
);
4955

5056
// 2. Authorize the Router to call the CrossChainSettler

src/core/XcrowEscrow.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ contract XcrowEscrow is IXcrowEscrow, ReentrancyGuard, Pausable, Ownable {
2929

3030
mapping(uint256 => XcrowTypes.Job) public jobs;
3131
mapping(address => uint256[]) public clientJobs;
32-
mapping(uint256 => uint256[]) public agentJobs; // agentId => jobIds
33-
mapping(address => uint256[]) public agentWalletJobs; // agentWallet => jobIds
32+
mapping(uint256 => uint256[]) public agentJobs; // agentId => jobIds
33+
mapping(address => uint256[]) public agentWalletJobs; // agentWallet => jobIds
3434

3535
// Accumulated protocol fees ready for withdrawal
3636
uint256 public accumulatedFees;

src/core/XcrowRouter.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ contract XcrowRouter is ReentrancyGuard, Pausable, Ownable {
233233
if (reputationAgentId != 0) {
234234
try reputationRegistry.giveFeedback(
235235
reputationAgentId,
236-
1, // positive value: payment was made
237-
0, // valueDecimals
236+
1, // positive value: payment was made
237+
0, // valueDecimals
238238
"", // tag1
239239
"", // tag2
240240
"", // endpoint

src/interfaces/IERC8004.sol

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,10 @@ interface IERC8004Reputation {
7474
/// @return count Number of matching feedback entries
7575
/// @return summaryValue Aggregated value
7676
/// @return summaryValueDecimals Decimals of the aggregated value
77-
function getSummary(
78-
uint256 agentId,
79-
address[] calldata clientAddresses,
80-
string calldata tag1,
81-
string calldata tag2
82-
) external view returns (uint64 count, int128 summaryValue, uint8 summaryValueDecimals);
77+
function getSummary(uint256 agentId, address[] calldata clientAddresses, string calldata tag1, string calldata tag2)
78+
external
79+
view
80+
returns (uint64 count, int128 summaryValue, uint8 summaryValueDecimals);
8381

8482
function readFeedback(uint256 agentId, address clientAddress, uint64 feedbackIndex)
8583
external

0 commit comments

Comments
 (0)