avoid memory allocation during and_provides
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
parent
d8bfe2a2ac
commit
339ea52864
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ghost-weaver"
|
name = "ghost-weaver"
|
||||||
version = "0.0.16"
|
version = "0.0.17"
|
||||||
description = "Weaving a secure cryptographic tapestry across different external chains."
|
description = "Weaving a secure cryptographic tapestry across different external chains."
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
|
|||||||
@ -626,7 +626,7 @@ pub mod pallet {
|
|||||||
|
|
||||||
ValidTransaction::with_tag_prefix("WeaverThread")
|
ValidTransaction::with_tag_prefix("WeaverThread")
|
||||||
.priority(T::UnsignedPriority::get())
|
.priority(T::UnsignedPriority::get())
|
||||||
.and_provides(thread_context.encode())
|
.and_provides(thread_context.to_fixed_bytes())
|
||||||
.longevity(LOCK_BLOCK_EXPIRATION)
|
.longevity(LOCK_BLOCK_EXPIRATION)
|
||||||
.propagate(true)
|
.propagate(true)
|
||||||
.build()
|
.build()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user