package
0.50.10
Repository: https://github.com/rollchains/spawn.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Given a string, return the reduced name for the module e.g.
ApplyMissingRPCMethodsToGoSourceFiles builds the proto interface stubs and appends them to the file for missing methods.
doesLineEndWithOpenSymbol returns true if the end of a line opens a statement such as a multi-line function.
DoOutdatedNotificationRunCheck returns true if it is time to run the check again.
No description provided by the author
No description provided by the author
returns "tx" or "query" depending on the content of the file.
FindLinesWithText returns the start and end index of a block of text in a slice of strings.
FindLineWithText returns the index of a line in a slice of strings that contains the given text.
Converts .proto files into a mapping depending on the type.
No description provided by the author
No description provided by the author
No description provided by the author
GetLatestVersionCheckFile grabs the check file used to determine when to run the version check.
No description provided by the author
No description provided by the author
GetProtoPackageName inputs proto file content, then parse out the package (cosmos module) name package cnd.v1; returns cnd as the name.
No description provided by the author
No description provided by the author
NormalizeDisabledNames normalizes the names, removes any parent dependencies, and removes duplicates.
OutOfDateCheckLog logs & returns true if it is out of date.
ParseFileImports reads the content of a file and returns the import strings, the start and end line numbers of the import block.
ProtoServiceParser parses out a proto file content and returns all the RPC services within it.
ReadCurrentModuleName reads the go package module name from the go.mod file on the host machine.
No description provided by the author
removeSpawnTagLineComment removes just the spawntag comment from a line of code.
No description provided by the author
No description provided by the author

# Constants

CommentSwapFormat is the format for swapping a line with another if a module is removed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
or mainnet.
No description provided by the author
No description provided by the author
No description provided by the author
ExpectedFormat is the standard format for removing a line if a module is removed.
spawntag:[searchTerm]>.
MultiLineStartFormat is the format for starting a multi-line comment which removes all text until the end of the comment.
No description provided by the author
No description provided by the author
StdFormat is the standard format for removing a line if a feature is removed.
No description provided by the author

# Variables

used for fuzz testing.
AlreadyChecked allows for better debugging to reduce fc spam.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
if ICS is used, we remove staking.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A Proto server RPC method.
No description provided by the author
No description provided by the author

# Type aliases

FileType tells the application which type of proto file is it so we can sort Txs from Queries.
ModuleMapping a map of the module name to a list of ProtoRPCs.