找到约 13 条结果

文章 深入解析Go语言Gin框架:路由注册与中间件源码剖析

...ain.go [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GI...

文章 深入理解EVM - Part 3 - 存储

...he Blockchain”](https://programtheblockchain.com/posts/2018/03/09/understanding-ethereum-smart-contract-storage/) 里对合约存储基础知识有一个相当完整的概述,我将回顾一下这篇文章里的关键知识点,当然也很推荐看一下这个全文。 ### 数据结构 ...

文章 如何迁移到新的代币和NFT RPC API V2包

... [Token 和 NFT API v2 包](https://marketplace.quicknode.com/add-on/token-and-nft-api-v2-bundle) 市场附加组件。 本指南假设你已经与我们的 Token 和 NFT APIs 中的方法进行过交互,并已将其安装在你的 QuickNode 端点上。如果你是这些 API 的新手,可以...

文章 COSMOSSDK GOV模块中文文档

...te) * [提案](#proposals) * [参数和基础类型](#parameters-and-base-types) * [质押](#deposit-1) * [验证者治理信息](#validatorgovinfo) * [存储](#stores) * [提案处理队列](#proposal-processing-queue) * [遗产提案(已弃用)](#legacy-propo...

文章 Rig:用于构建 LLM 支持的应用程序的 Rust 库

...rig-a-rust-library-for-building-llm-powered-applications-3g75#key-features-and-developer-experience) * [1. 统一直观的API ](https://dev.to/0thtachi/rig-a-rust-library-for-building-llm-powered-applications-3g75#1-unified-and-intuitive-api) * [2. 复杂工作流程的高级抽象](https:/...

文章 尝试用 Halo2 实现 Tornado Cash

... )?; Ok((left, right)) }, )?; let chip = HashChip::construct(config); let hash_result_cell = chip.hash(layouter.namespace(|| "hasher"), left, right)?; ``` 最重要的部分是最后一行 ``` layouter.constrain_instance(hash_result_cell.cell(), config.instance, 0) ...

文章 Substrate 入门(11)-学习Runtime必备的技能

...用嵌套元素的形式定义,而`on_initialize`的调用顺序即是`construct_runtime!`中模块定义的顺序** 例如`Runtime` 我们在原本的`bin/node/runtime/lib.rs`中可以看到,每个runtime module导出的trait都实现给了`Runtime`类型,但是我们却不知道`Runtim...

文章 在 Anchor 中的跨程序调用(CPI)

...一个用于初始化存储一个 `u64` 的账户,另一个函数 `add_and_store` 接受两个 `u64` 变量,将它们相加并存储在由结构体 `BobData` 定义的账户中。 ```rust use anchor_lang::prelude::*; use std::mem::size_of; // 替换为你的 dec...

文章 COSMOS的IBC规范ICS002-client

...nts to introduce Bob, a second module on a second machine who Alice knows (and who knows Alice), to Carol, a third module on a third machine, who Alice knows but Bob does not. Alice must utilise an existing channel to Bob to communicate the canonically-serialisable validity predicate for Carol, with...

文章 Zama 产品发布 - 2024 年 7 月

...s://www.zama.ai/post/tfhe-rs-v0-7-ciphertext-compression-multi-gpu-support-and-more) ### Concrete v2.7 Concrete v2.7 引入了第一个可以加速 GPU 计算的 wheel!在这个新版本中,我们还扩展了对函数组合的支持,并在 Python 前端为用户添加了几个新功能...

问题 Chainlink节点部署中,遇到ETH ChainID与Config.ChainID不吻合的问题

...cker.go:258 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1374` and also i have this information : ``` ``` [INFO] HeadTracker: Head 22528634 is lagging behind, there are 2 more heads in the queue. Your node is operating close to its maximum capacity and may start to miss jobs. ser...

文章 Vitalik:探究 Epoch 和 Slot, 为以太坊用户提供更快的交易确认时间

...](https://ethresear.ch/t/sticking-to-8192-signatures-per-slot-post-ssf-how-and-why/17989)可以缓解这一问题,包括最近的 [Orbit SSF](https://ethresear.ch/t/orbit-ssf-solo-staking-friendly-validator-set-management-for-ssf/19928) 提议。但即便如此,虽然这通过加快"最终确定...

文章 Solidity 学习:在Solidity中使用Revert()、Assert()和Require(),并且在EVM中使用新的Revert操作码

> * 原文:https://medium.com/blockchannel/the-use-of-revert-assert-and-require-in-solidity-and-the-new-revert-opcode-in-the-evm-1a3a7990e06e > * 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) > * 译者:[darren](https://learnblockchain.cn/people/4859) > * 校对:[...