Bug
PR #584 fixed the deadline in the new AgentManage.tsx (300 seconds) but the original AgentRegister.tsx still has the wrong deadline on line 112:
const deadline = BigInt(Math.floor(Date.now() / 1000) + 3600); // WRONG: 1 hour
The ERC-8004 contract enforces a maximum 5-minute deadline. Wallet binding during new agent registration (Step 3) will revert on-chain.
Fix
In src/components/AgentRegister.tsx line 112, change 3600 to 300:
const deadline = BigInt(Math.floor(Date.now() / 1000) + 300);
Branch
task/588-register-deadline-fix
Acceptance criteria
Bug
PR #584 fixed the deadline in the new
AgentManage.tsx(300 seconds) but the originalAgentRegister.tsxstill has the wrong deadline on line 112:The ERC-8004 contract enforces a maximum 5-minute deadline. Wallet binding during new agent registration (Step 3) will revert on-chain.
Fix
In
src/components/AgentRegister.tsxline 112, change3600to300:Branch
task/588-register-deadline-fixAcceptance criteria