File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 5
5
from .common import get_subclass_functions
6
6
from .ethereum import EthBeaconMethods
7
7
from .evm import EvmMethods
8
+ from .solana import SolanaMethods
8
9
9
10
__all__ = [
10
11
"EthBeaconMethods" ,
11
12
"EvmMethods" ,
13
+ "SolanaMethods" ,
12
14
"get_subclass_functions" ,
13
15
"all_method_classes" ,
14
16
"all_methods" ,
18
20
all_method_classes : list [Type [EthBeaconMethods | EvmMethods ]] = [
19
21
EthBeaconMethods ,
20
22
EvmMethods ,
23
+ SolanaMethods ,
21
24
]
22
25
23
26
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class SolanaMethods(SolanaUser):
14
14
def task_to_method (task_name : str ) -> str :
15
15
task_name_stripped = task_name .replace ("_task" , "" )
16
16
words = task_name_stripped .split ("_" )
17
- method = "" .join ([words [1 ]] + [word .capitalize () for word in words [2 :]])
17
+ method = "" .join ([words [0 ]] + [word .capitalize () for word in words [1 :]])
18
18
return method
19
19
20
20
def method_to_task_function (self , method : str ) -> t .Callable :
You can’t perform that action at this time.
0 commit comments