From 216ae600137884271146817901ab0fe42a2a032b Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Wed, 26 Feb 2025 23:51:52 +0100 Subject: [PATCH 1/5] Update function_info.md --- precompile/modules/minitia_stdlib/doc/function_info.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precompile/modules/minitia_stdlib/doc/function_info.md b/precompile/modules/minitia_stdlib/doc/function_info.md index 7060485b..af8bcafc 100644 --- a/precompile/modules/minitia_stdlib/doc/function_info.md +++ b/precompile/modules/minitia_stdlib/doc/function_info.md @@ -155,7 +155,7 @@ Creates a new function info from names. ## Function `check_dispatch_type_compatibility` -Check if the dispatch target function meets the type requirements of the disptach entry point. +Check if the dispatch target function meets the type requirements of the dispatch entry point. framework_function is the dispatch native function defined in the minitia_std. dispatch_target is the function passed in by the user. From b726053b3aa3696b72b103fb178f2166554e1a29 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Wed, 26 Feb 2025 23:53:28 +0100 Subject: [PATCH 2/5] Update function_info.move --- precompile/modules/minitia_stdlib/sources/function_info.move | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precompile/modules/minitia_stdlib/sources/function_info.move b/precompile/modules/minitia_stdlib/sources/function_info.move index deac84cf..b6695c22 100644 --- a/precompile/modules/minitia_stdlib/sources/function_info.move +++ b/precompile/modules/minitia_stdlib/sources/function_info.move @@ -45,7 +45,7 @@ module minitia_std::function_info { FunctionInfo { module_address, module_name, function_name } } - /// Check if the dispatch target function meets the type requirements of the disptach entry point. + /// Check if the dispatch target function meets the type requirements of the dispatch entry point. /// /// framework_function is the dispatch native function defined in the minitia_std. /// dispatch_target is the function passed in by the user. From 9d77c78376b5adab60329351105f9071201bdecf Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Wed, 26 Feb 2025 23:53:56 +0100 Subject: [PATCH 3/5] Update function_info.md --- precompile/modules/initia_stdlib/doc/function_info.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precompile/modules/initia_stdlib/doc/function_info.md b/precompile/modules/initia_stdlib/doc/function_info.md index b3e16cc5..e2fcb009 100644 --- a/precompile/modules/initia_stdlib/doc/function_info.md +++ b/precompile/modules/initia_stdlib/doc/function_info.md @@ -155,7 +155,7 @@ Creates a new function info from names. ## Function `check_dispatch_type_compatibility` -Check if the dispatch target function meets the type requirements of the disptach entry point. +Check if the dispatch target function meets the type requirements of the dispatch entry point. framework_function is the dispatch native function defined in the initia_std. dispatch_target is the function passed in by the user. From 3edb8e245502dd4451f690491423a820b9f4c56c Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Wed, 26 Feb 2025 23:54:26 +0100 Subject: [PATCH 4/5] Update function_info.move --- precompile/modules/initia_stdlib/sources/function_info.move | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precompile/modules/initia_stdlib/sources/function_info.move b/precompile/modules/initia_stdlib/sources/function_info.move index e67302a8..24961bf9 100644 --- a/precompile/modules/initia_stdlib/sources/function_info.move +++ b/precompile/modules/initia_stdlib/sources/function_info.move @@ -45,7 +45,7 @@ module initia_std::function_info { FunctionInfo { module_address, module_name, function_name } } - /// Check if the dispatch target function meets the type requirements of the disptach entry point. + /// Check if the dispatch target function meets the type requirements of the dispatch entry point. /// /// framework_function is the dispatch native function defined in the initia_std. /// dispatch_target is the function passed in by the user. From f30c601c60fbd39a1016af8fa8796b898f97100d Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Wed, 26 Feb 2025 23:55:02 +0100 Subject: [PATCH 5/5] Update staking.move --- precompile/modules/initia_stdlib/sources/staking.move | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precompile/modules/initia_stdlib/sources/staking.move b/precompile/modules/initia_stdlib/sources/staking.move index aa257e14..e149bbb0 100644 --- a/precompile/modules/initia_stdlib/sources/staking.move +++ b/precompile/modules/initia_stdlib/sources/staking.move @@ -2187,7 +2187,7 @@ module initia_std::staking { #[test] #[expected_failure(abort_code = 0x10008, location = Self)] - public fun test_staking_merge_delegation_validator_mistmatch() acquires ModuleStore { + public fun test_staking_merge_delegation_validator_mismatch() acquires ModuleStore { test_setup(); let delegation1 = Delegation {