chore: sync workspace — configs, docs, scripts, CI, pnpm, submodules
- Submodule pins: dbis_core, cross-chain-pmm-lps, mcp-proxmox (local, push may be pending), metamask-integration, smom-dbis-138 - Atomic swap + cross-chain-pmm-lops-publish, deploy-portal workflow, phoenix deploy-targets, routing/aggregator matrices - Docs, token-lists, forge proxy, phoenix API, runbooks, verify scripts Made-with: Cursor
This commit is contained in:
@@ -362,7 +362,8 @@ const server = http.createServer(async (req, res) => {
|
||||
result = await forwardV2Flattened(payload);
|
||||
out = toEtherscanResponse(result);
|
||||
if (out.status !== '1') {
|
||||
console.error('[forge-verification-proxy] v2 API failed:', out.message, '- trying Etherscan format...');
|
||||
// Expected: Blockscout v2 often returns non-1 for flattened; Etherscan-compat path succeeds.
|
||||
console.log('[forge-verification-proxy] v2 API fallback:', (out.message || '').slice(0, 120), '→ Etherscan-compat…');
|
||||
result = await forwardEtherscanFormat(payload);
|
||||
const etherOut = toEtherscanResponse(result);
|
||||
send(res, 200, etherOut.status === '1' ? etherOut : out);
|
||||
@@ -372,7 +373,7 @@ const server = http.createServer(async (req, res) => {
|
||||
result = await forwardV2StandardInput(payload);
|
||||
out = toEtherscanResponse(result);
|
||||
if (out.status !== '1') {
|
||||
console.error('[forge-verification-proxy] v2 standard-input failed:', out.message, '- trying Etherscan format...');
|
||||
console.log('[forge-verification-proxy] v2 standard-input fallback → Etherscan-compat…', (out.message || '').slice(0, 120));
|
||||
result = await forwardEtherscanFormat(payload);
|
||||
const etherOut = toEtherscanResponse(result);
|
||||
send(res, 200, etherOut.status === '1' ? etherOut : out);
|
||||
|
||||
Reference in New Issue
Block a user