找到约 13 条结果

问题 starknet cairo 测试报错 [ERROR] Failed to build test artifacts with Scarb: `scarb` exited with error

...ame = "counter" version = "0.1.0" edition = "2023_01" # See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html [dependencies] starknet = ">=2.6.3" [dev-dependencies] snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git",...

文章 optimism sequencer背后的魔法(四):op-batcher工作原理

原文链接:https://github.com/joohhnnn/Understanding-Optimism-Codebase-CN/blob/main/sequencer/03-how-batcher-works.md 作者:[joohhnnn](https://github.com/joohhnnn) # batcher工作原理 在这一章节中,我们将探讨到底什么是`batcher` ⚙️ 官方specs中有batcher的介绍...

文章 EIP-7702 详解:工作原理及你需要知道的一切

![EIP-7702 Explained: How it Works and Everything You Need to Know](https://img.learnblockchain.cn/2025/05/16/eip-7702.png) ## **TL;DR(太长不看)** - EIP-7702 是 Vitalik Buterin 共同提出的提案,提出了一种新的交易类型,为相应的 EOA 添加了一个 `contract_code`...

文章 Nillion — 解锁个性化人工智能应用

.../sopr-2023#:~:text=However%2C%20a%20disconnect%20exists%20between,secure%20and%20use%20it%20responsibly) 对于数据隐私问题表示,他们对使用个性化 AI 不感到舒服。 ![](https://img.learnblockchain.cn/2025/03/15/0YLLo1dYPfsJHFzAk.png) 这些公司因为数据隐私原因已...

问题 合约不能接受BNB,请问是什么原因。

...ansferred(address indexed previousOwner, address indexed newOwner); constructor() { _setOwner(_msgSender()); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "...

文章 Solana 与 Rust 算术入门—从 Solidity 到 Anchor

...sult { msg!("You said {:?}", message); msg!("You sent {} and {}", a, b); Ok(()) } } #[derive(Accounts)] pub struct Initialize {} ``` 复制完代码后,使用 `anchor keys sync` 命令同步密钥。 更新 tests/arithmetic.ts: ```tsx it("Is initia...

文章 关于陈算法的再更新

...fix. See Section 3.5.9 (Page 37) for details. I sincerely thank Hongxun Wu and (independently) Thomas Vidick for finding the bug today. Now the claim of showing a polynomial time quantum algorithm for solving LWE with polynomial modulus-noise ratios does not hold. I leave the rest of the paper as it...

文章 Curve-Vyper 漏洞利用:目前为止的完整故事

...Ether (WETH)](https://cointelegraph.com/news/what-is-wrapped-ethereum-weth-and-how-does-it-work) 的资金池面临攻击风险。 Vyper 是一种为以太坊虚拟机设计的合约编程语言。它被认为是使用最广泛的 Web3 编程语言之一,这意味着其三个版本中的错误可...

文章 区块链技术对金融服务影响 - 回顾与展望

...eserve.gov/econres/feds/distributed-ledger-technology-in-payments-clearing-and-settlement.htm#:~:text=Distributed%20ledger%20technology%20(DLT)%20is,derivatives%20are%20cleared%20and%20settled.),探讨区块链是否会改变全球金融架构。在过去的八年中,我从多个角度思考了...

文章 EIP-7702 指南:构建和测试智能账户

...指南中,我们将使用 `signDelegation`、`attachDelegation` 和 `signAndAttachDelegation` cheatcodes 来测试 EIP‑7702 功能。有关更多信息,请查看 [Foundry Cheatcodes 文档](https://book.getfoundry.sh/cheatcodes/sign-delegation)。 ### 项目概述 在本项目中,我...

文章 外部确认哈希率

...设 Bits 为字节数组 *{ E,Q1,Q2,Q3 }*。设 M 为整数值 *(Q1 =169) and (tail.length= 64) return (true,false) if (rskTagPosition !=lastTag) return (true,false) if (tail.length - rskTagPosition > 169) return (true,false) coinbaseLength = tail.length + byteCount; if (coinbaseLength 128) ret...

文章 在 Wake 测试中签名消息:EIP-712、EIP-191 和哈希

...和地址](https://ackee.xyz/wake/docs/latest/testing-framework/accounts-and-addresses/) 文档提炼成你可以直接放入测试中的实际例子。 ### 准备一个带有私钥的账户 Wake 只有当账户持有私钥时才会签名。你可以在一行中导入或生成一个: ```python ...

文章 Xatu 开源数据集

... ## 可用数据 | 数据集名称 | 模式 | 描述 | 前缀 | EthPandaOps Clickhouse|公共 Parquet 文件 | |--------------|--------|-------------|--------|---|---| | **信标 API 事件流** | [模式](./schema/beacon_api_.md) | 从信标 API 事件流派生的事件 | beacon_api_ | ✅...