mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Add comment about guarantees (#105)
This commit is contained in:
committed by
Gav Wood
parent
1bd597a52e
commit
31a3a2e4df
@@ -230,6 +230,9 @@ pub fn validate_candidate<E: Externalities>(
|
||||
};
|
||||
|
||||
// allocate call data in memory.
|
||||
// we guarantee that:
|
||||
// - `offset` has alignment at least of 8,
|
||||
// - `len` is not zero.
|
||||
let (offset, len) = {
|
||||
let encoded_call_data = params.encode();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user