Rename addresses from cosmos* to plmnt* (#68)

// See https://github.com/rddl-network/issues/issues/33

Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
Julian Strobl 2023-09-14 10:49:05 +02:00 committed by GitHub
parent 46d2c0c744
commit 46b25d4ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -128,7 +128,7 @@ import (
)
const (
AccountAddressPrefix = "cosmos"
AccountAddressPrefix = "plmnt"
Name = "planetmint-go"
)

13
app/app_test.go Normal file
View File

@ -0,0 +1,13 @@
package app
import (
"testing"
"github.com/stretchr/testify/assert"
)
// TestAccountAddressPrefix makes sure that the account address prefix has a certain value.
func TestAccountAddressPrefix(t *testing.T) {
accountAddressPrefix := "plmnt"
assert.Equal(t, AccountAddressPrefix, accountAddressPrefix, "The account address prefix should be 'plmnt'.")
}