欢迎所有爱好区块链技术的人加入。

CATEGORY

Layer2 / Polygon

Polygon

共 19 篇

2009

跨链桥跨链过程中数据变化

Polygon

发起的两笔跨链交易 (L1->L2) https://sepolia.etherscan.io/tx/0xd2db346f588d3eb9c90b0a9da2e8382d5c3275916288131f3701ae62bae56c44 https://sepolia.ethers…

2007

polygon cdk aggregator 报execution reverted (0x09bde339)

Polygon

## 错误信息 ## 链代码分析 调用的合约为 Banana.RollupManager.VerifyBatchesTrustedAggregator ## 函数选择器->函数名 https://chaintool.tech/querySelector 0x09bde339->I…

2006

polygon cdk Aggregator使用SequencerPrivateKey的时机

Polygon

在Aggregator中有如下配置,需要配置Sequencer的私钥 查看链代码 以下条件时被设置 1. cfg.SyncModeOnlyEnabled == false 2. cfg.SettlementBackend == AggLayer 查看SequencerPrivat…

2005

polygon da 判断DA服务是否正常

Polygon

查询DA数据库最新存储的batch高度 例如返回 再查看最新提交的交易->SequenceBatches时间 https://sepolia.etherscan.io/tx/0x9edf5c7c7a87ca47fd85e3002361d1266028e2f2a08d1bfd4cf…

2003

polygon cdk sequence sender 发送 sequenceBatchesValidium的时机

Polygon

# 问题 sequencesender长时间未向L1提交batch->sequenceBatchesValidium 与sequencesender模块有关的日志只看到如下 未看到类似日志 # 临时重启 重启sequencesender服务后,开始提交 https://sepol…

2002

polygon cdk 查看最新提交L1batch num

Polygon

通过RPC 例如返回 0x52对应10进制为82 https://tool.lu/hexconvert/ ## 合约逻辑 查看举例交易:https://sepolia.etherscan.io/tx/0xdb8636d8853348d4d48df1d602a3ce6fe8c37c…

1999

CDK 部署或重置后第一笔交易

Polygon

交易组装 测试数据 ## 第一个batch信息为 1. 一笔zkEVM合约初始化交易 2. globalExitRoot 3. timestamp 4. trustedSequencer

1998

error: latest Synced BlockNumber (7089137) is higher than the latest Proposed block (1008) in the network

Polygon

## 问题 cdk 跨链桥启动后,发起一笔跨链复现networkID数据错乱,重启后报错 lastBlockSynced = 7089137 lastKnownBlock = 1008 lastBlockSynced为L1数据,lastKnownBlock为L2数据,说明s.et…

1997

polygon cdk 跨链桥交易处理流程分析

Polygon

# 数据产生 synchronizer/synchronizer.go etherMan.readEvents ## 数据消费 ## 合约分析 PolygonZkEVMGlobalExitRoot.sol PolygonZkEVMGlobalExitRootV2.sol // T…

1991

因RPC限速导致sequence-sender异常退出

Polygon

## 问题 因RPC限速导致sequence-sender异常退出 ## 相关代码 ## 解决 在sequence-sender 配置->L1InfoTreeSync下增加两个配置 - MaxRetryAttemptsAfterError 总共重试多少次后,异常退出,可以设置一个…

1990

error getting sequences: error no leaves on L1InfoTree yet and GetInitL1InfoRootMap

Polygon

## 错误 启动sequence-sender时报以下错误 ## 相关代码 ### 分析 l1InfoTree.GetInitL1InfoRootMap 没有获取到数据 GetInitL1InfoRootMap 通过事件`InitL1InfoRootMap`进行写入的 对应合约P…

1989

polygon cdk fork12各服务版本对应关系

Polygon

| fork版本 | 服务名称 | tag | 官方镜像 | | | -------- | ------------------------------- | ------------------------------------------------------------…

1988

调研polygon cdk-fork12是否支持在polygon pos测试网amoy部署

Polygon

## 背景 调研polygon cdk-fork12是否支持在polygon pos测试网amoy部署 ## 前置结论 结论:polygon cdk-fork12依赖于以太坊PoS状态检查,polygon pos测试网amoy RPC未实现该逻辑导致不兼容,无法支持部署polyg…

1987

polygon cdk变更TrustedSequencerURL

Polygon

## 背景 特殊场景需要变更合约PolygonZkEVM.sol中的TrustedSequencerURL ## 合约代码 ## ABI ## 测试 当前合约内TrustedSequencerURL:http://172.18.36.173:8123 期望变更为:http://1…

1986

cdk-erigon - ChainDB name is not recognized

Polygon

https://github.com/0xPolygonHermez/cdk-erigon/blob/06e93d49704726977297cf1d5055f43185e313bd/cmd/utils/flags.go#L2253-L2295 新建的自定义链,名称需要以`dyn…

1985

cdk-data-availability之TrackSequence参数分析

Polygon

https://github.com/0xPolygon/cdk-data-availability/blob/e17fe08a81dee451636cadce04e568563d992d38/sequencer/tracker.go#L84-L113 ## 分析 当TrackS…

1984

使用Kurtosis快速验证Polygon CDK新版本

Polygon

# 前置介绍 官方部署:https://docs.polygon.technology/cdk/getting-started/local-deployment/ Polygon CDK Kurtosis 包允许您轻松自定义和实例化 CDK 链的所有组件。它使用Kurtosis工…

1868

ZK-COUNTERS TABLE

Polygon

# ZK-COUNTERS TABLE | opcode | name | cnt_arith | cnt_binary | cnt_mem_align | cnt_keccak_f | cnt_padding_pg | cnt_poseidon_g | is_dynamic |…

1860

Polygon zkEvm链区块不可逆判断

Polygon

区块会经过两个步骤 eth_blockNumber->zkevm_isBlockVirtualized->zkevm_isBlockConsolidated zkevm_isBlockVirtualized 到达该阶段说明数据已提交到L1层,当到达后,出现不一致概率极低,比如版本…