alnoki

Results 66 comments of alnoki

@ahermida I have addressed this per the most recent commit to PR #4173, see [`create_resource_account_force_creation()`](https://github.com/aptos-labs/aptos-core/pull/4173/files).

> but if a user cannot usurp control of a resource account that's been front-run @ahermida How would you go about determining who is the legitimate user and who is...

> I would assume that if `create_resource_address(&origin, seed)` results in an address, the signer `origin` would have authority over that address. I'm making a blanket assumption that would be impossible...

> I meant that if the origin is a `signer` type, then they should have authority over any address generated with a seed and their address (and should be able...

> I'm not sure if the current implementation of `create_resource_account_force_creation` is practical security-wise, in particular, because it breaks the one-to-one mapping of seeds to addresses. It also seems to open...

@davidiw Agreed that `size_of_value` is probably more appropriate naming in this context, and the intent was `size_of`, which would indeed would be more appropriate as a native function. The quasi-null...

> I think @alnoki , your goal was storage optimization... and per @wrwg point, that we should distinguish between memory costs and storage costs. For example, the length of a...

@movekevin [`19a029`](https://github.com/aptos-labs/aptos-core/pull/4540/commits/19a029f2884a54c0370d76882caa4c7cf1fc5659) compresses signature to a single line. @davidiw [`19a029`](https://github.com/aptos-labs/aptos-core/pull/4540/commits/19a029f2884a54c0370d76882caa4c7cf1fc5659) renames to `size_of_val`. @wrwg [`19a029`](https://github.com/aptos-labs/aptos-core/pull/4540/commits/19a029f2884a54c0370d76882caa4c7cf1fc5659) eliminates documentation references to null.

> * might we want this propagated further down in `aptos_stdlib` rather than `aptos_framework`? I included this in `account.move` because that is where the native function `create_signer` is located. If...

> Got it, I'll be on the lookout for the official release so I can try out the new command. If I am understanding your question about derivation correctly, I...