Results 244 comments of jolestar

> I think the way provide a hijacked `ModuleResolver` on Dev network would be easy to implement. First, we deploy all dependent packages to a specific account address such as...

@coldnight like https://github.com/starcoinorg/starcoin-framework-commons/blob/main/sources/UpgradeScript.move#L4 When starcoin-framework-commons deploy, need to write some global resources to SFC address.

> It seems this initialization is not triggered automatically, more like a man who owned the account, first deploy the package on the chain, then call it manually via `contract.call_v2`....

> I see, the `init_script` is specified by command line option when we run `mpm release`. And also, the package address is wrote at this time. We won't know the...

resource 和 code 都存为 smt 数结构中,做分页不太好实现,不过优化方式可以考虑: 1. list resource 的时候不要传递 decode 参数,直接拿到 bcs 二进制数据在 js 中 decode,不过需要配合 ABI。 2. 考虑提供 `state.list_resource_key`, `state.list_code_key` 接口,先拿到所有的 resource key(struct type), code key(module name),然后延迟加载具体的内容。效率可能更好一些。 @nkysg...

> `state.get_account_state_set` 会把 resource 和 code 两个 独立的 list 拼起来,我还不清楚怎么去定义这个数据的分页 > > 另外 state.get_account_state_set 哪里会用到啊? `state.get_account_state_set` 这个接口可以不考虑分页。

需要确认以下问题,延期决策: 1. 安全性问题 2. 用户对 address 的认知问题。

可以考虑同时修复 #2178