Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### Changes

- [#3993](https://github.com/ignite/cli/pull/3993) Oracle scaffolding was deprecated and has been removed
- [#4095](https://github.com/ignite/cli/pull/4095) Migrate to matomo analytics
- [#4149](https://github.com/ignite/cli/pull/4149) Bump cometbft to `v0.38.7`
- [#4168](https://github.com/ignite/cli/pull/4168) Bump IBC to `v8.3.1`
Expand Down
1 change: 0 additions & 1 deletion ignite/cmd/scaffold.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ with an "--ibc" flag. Note that the default module is not IBC-enabled.
NewScaffoldMessage(),
NewScaffoldQuery(),
NewScaffoldPacket(),
NewScaffoldBandchain(),
NewScaffoldVue(),
NewScaffoldReact(),
)
Expand Down
27 changes: 0 additions & 27 deletions ignite/services/scaffolder/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ func checkForbiddenComponentName(name multiformatname.Name) error {
// Check with names already used from the scaffolded code
switch name.LowerCase {
case
"oracle",
"logger",
"keeper",
"query",
Expand Down Expand Up @@ -199,32 +198,6 @@ func checkGoReservedWord(name string) error {
return nil
}

// checkForbiddenOracleFieldName returns true if the name is forbidden as an oracle field name.
//
// Deprecated: This function is no longer maintained.
func checkForbiddenOracleFieldName(name string) error {
mfName, err := multiformatname.NewName(name, multiformatname.NoNumber)
if err != nil {
return err
}

// Check with names already used from the scaffolded code
switch mfName.UpperCase {
case
"CLIENTID",
"ORACLESCRIPTID",
"SOURCECHANNEL",
"CALLDATA",
"ASKCOUNT",
"MINCOUNT",
"FEELIMIT",
"PREPAREGAS",
"EXECUTEGAS":
return errors.Errorf("%s is used by Ignite scaffolder", name)
}
return nil
}

// containsCustomTypes returns true if the list of fields contains at least one custom type.
func containsCustomTypes(fields []string) bool {
for _, field := range fields {
Expand Down
2 changes: 1 addition & 1 deletion ignite/services/scaffolder/component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestCheckForbiddenComponentName(t *testing.T) {
},
{
name: "should prevent forbidden name",
compName: "oracle",
compName: "genesis",
shouldError: true,
},
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading