Comments (3)
main 上我用 list_resource 和 get_account_state_set 查了几个地址:0x1,0x8355417c88d969f656935244641256ad,0xA550C18 加上普通用户的地址,typetag 嵌套层数最多是 3,超过12层感觉概率很低。
move-language#549 是等合并以后再 pick 吗 ?
from move.
三层的 出现在 0x1 的 state.get_account_state_set 接口返回的 type_
这个字段
"0x00000000000000000000000000000001::Config::ModifyConfigCapabilityHolder<0x00000000000000000000000000000001::Dao::DaoConfig<0x00000000000000000000000000000001::STC::STC>>": {
"abilities": 12,
"type_": "0x00000000000000000000000000000001::Config::ModifyConfigCapabilityHolder<0x00000000000000000000000000000001::Dao::DaoConfig<0x00000000000000000000000000000001::STC::STC>>",
"value": [
[
"cap",
{
"Struct": {
"abilities": 7,
"type_": "0x00000000000000000000000000000001::Option::Option<0x00000000000000000000000000000001::Config::ModifyConfigCapability<0x00000000000000000000000000000001::Dao::DaoConfig<0x00000000000000000000000000000001::STC::STC>>>",
"value": [
[
"vec",
{
"Vector": []
}
]
]
}
}
]
]
},
"0x00000000000000000000000000000001::ModifyDaoConfigProposal::DaoConfigModifyCapability<0x00000000000000000000000000000001::STC::STC>": {
"abilities": 8,
"type_": "0x00000000000000000000000000000001::ModifyDaoConfigProposal::DaoConfigModifyCapability<0x00000000000000000000000000000001::STC::STC>",
"value": [
[
"cap",
{
"Struct": {
"abilities": 4,
"type_": "0x00000000000000000000000000000001::Config::ModifyConfigCapability<0x00000000000000000000000000000001::Dao::DaoConfig<0x00000000000000000000000000000001::STC::STC>>",
"value": [
[
"account_address",
{
"Address": "0x00000000000000000000000000000001"
}
],
[
"events",
{
"Struct": {
"abilities": 4,
"type_": "0x00000000000000000000000000000001::Event::EventHandle<0x00000000000000000000000000000001::Config::ConfigChangeEvent<0x00000000000000000000000000000001::Dao::DaoConfig<0x00000000000000000000000000000001::STC::STC>>>",
"value": [
[
"counter",
{
"U64": "0"
}
],
[
"guid",
{
"Bytes": "0x140000000000000000000000000000000000000000000001"
}
]
]
}
}
]
]
}
}
]
]
},
from move.
main 上我用 list_resource 和 get_account_state_set 查了几个地址:0x1,0x8355417c88d969f656935244641256ad,0xA550C18 加上普通用户的地址,typetag 嵌套层数最多是 3,超过12层感觉概率很低。
move-language#549 是等合并以后再 pick 吗 ?
等合并,这个可能还要改一下
from move.
Related Issues (18)
- [Bug]failed test case in pacakge move-cli cli_testsuite HOT 2
- [Feature Request]收集starcoin-main分支和dev分支测试,每次添加新的代码,跑通CI HOT 2
- [Bug]starcoin-main branch test error HOT 1
- [Bug] dev branch test error HOT 1
- [Bug dev] package_hash_skips_non_move_files test failed
- [Bug] find the reason why some cmd has two 0x0x HOT 3
- [dev Bug] run_metatest error HOT 6
- [dev Bug] `move sandbox run scripts/test.move --args 0u8 --dry-run` error
- [Feature Request] no_std compile starcoin/vm-runtime
- [dev] move the repo to https://github.com/move-language HOT 1
- [Feature Request] Request release of a starcoin compatible move-analyzer HOT 3
- RUSTSEC in dependencies in branch
- [compiler-v2[Feature Request]bech32 upgrade 0.11.0
- [compiler-v2][Feature Request] check remove legacy_size
- [compiler-v2][Bug]AccountAddress Len equals 32 , change 16 to support bech32
- [compiler-v2][Feature Request]update prelude.bpl for Vector operation
- [Bug]wrong logic in branch startcoin-main move_core_types::account_address::AccountAddress::from_hex_literal HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from move.