From 00fa58af39177af5f604d0852dbbc4732652342c Mon Sep 17 00:00:00 2001 From: Tasos Derisiotis <50984242+Eengineer1@users.noreply.github.com> Date: Mon, 25 Nov 2024 13:03:36 +0200 Subject: [PATCH] fix: Bump resource payload size static validation to 2MB --- x/resource/types/tx_msg_create_resource_payload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/resource/types/tx_msg_create_resource_payload.go b/x/resource/types/tx_msg_create_resource_payload.go index c5cf7c2f7..d283afa14 100644 --- a/x/resource/types/tx_msg_create_resource_payload.go +++ b/x/resource/types/tx_msg_create_resource_payload.go @@ -43,7 +43,7 @@ func (msg MsgCreateResourcePayload) Validate() error { validation.Field(&msg.Version, validation.Length(1, 64)), validation.Field(&msg.ResourceType, validation.Required, validation.Length(1, 64)), validation.Field(&msg.AlsoKnownAs, validation.Each(ValidAlternativeURI())), - validation.Field(&msg.Data, validation.Required, validation.Length(1, 200*1024)), // 200KB + validation.Field(&msg.Data, validation.Required, validation.Length(1, 2*1024*1024)), // 2MB ) }