From 147ddcd53c5a8192cc302dd38754cbd04d039e1c Mon Sep 17 00:00:00 2001 From: Arnaud Mimart <33665250+amimart@users.noreply.github.com> Date: Thu, 19 Sep 2024 13:03:25 +0200 Subject: [PATCH 1/3] fix(cli): properly map cli argument --- cmd/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/start.go b/cmd/start.go index 1cc8ecf..aaa9e81 100644 --- a/cmd/start.go +++ b/cmd/start.go @@ -119,7 +119,7 @@ func init() { "Encryption with the GRPC endpoint but skip certificates verification") startCmd.PersistentFlags().StringVar(&dataverseAddr, FlagDataverseAddr, "", "The dataverse contract address") startCmd.PersistentFlags().StringVar(&mnemonic, FlagServiceMnemonic, "", "The service's mnemonic") - startCmd.PersistentFlags().StringVar(&mnemonic, FlagServiceBaseURL, "", "The service's base URL") + startCmd.PersistentFlags().StringVar(&baseURL, FlagServiceBaseURL, "", "The service's base URL") startCmd.PersistentFlags().StringVar(&listenAddr, FlagListenAddr, "127.0.0.1:8080", "The server's listen address") startCmd.PersistentFlags().BytesHexVar(&jwtSecretKey, FlagJWTSecretKey, []byte{}, "The hex encoded secret key used to issue JWT tokens") startCmd.PersistentFlags().DurationVar(&jwtDuration, FlagJWTDuration, time.Hour, "The JWT token duration") From 9d7d26651df4d7b3f72150808eccba0ad5a7f37e Mon Sep 17 00:00:00 2001 From: Arnaud Mimart <33665250+amimart@users.noreply.github.com> Date: Thu, 19 Sep 2024 13:10:19 +0200 Subject: [PATCH 2/3] docs: correct typo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f2fb99..7ea6164 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ make build ## Example -> ⚠️ **The following example mey be outdated**. +> ⚠️ **The following example may be outdated**. Hereafter is presented an example using this proxy locally, providing all the needed elements to feed a local dataverse and interact with it. From a6799c0fa53adc6941cdf62ca9595b30019a62ca Mon Sep 17 00:00:00 2001 From: Arnaud Mimart <33665250+amimart@users.noreply.github.com> Date: Thu, 19 Sep 2024 13:43:29 +0200 Subject: [PATCH 3/3] chore: update sdk to latest changes --- go.mod | 6 +++--- go.sum | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 578fd60..2015e0e 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/axone-protocol/s3-auth-proxy go 1.22.5 require ( - github.com/axone-protocol/axone-sdk v0.0.0-20240917124429-be90ef100e39 + github.com/axone-protocol/axone-sdk v0.0.0-20240919114012-5a4ba90c03e8 github.com/minio/minio-go/v7 v7.0.69 github.com/piprate/json-gold v0.5.1-0.20230111113000-6ddbe6e6f19f github.com/rs/zerolog v1.33.0 @@ -25,7 +25,7 @@ require ( cosmossdk.io/log v1.4.1 // indirect cosmossdk.io/math v1.3.0 // indirect cosmossdk.io/store v1.1.0 // indirect - cosmossdk.io/x/tx v0.13.4 // indirect + cosmossdk.io/x/tx v0.13.5 // indirect cosmossdk.io/x/upgrade v0.1.4 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect @@ -38,7 +38,7 @@ require ( github.com/axone-protocol/axone-contract-schema/go/cognitarium-schema/v5 v5.0.0-20240826124342-6e6abdf73c9a // indirect github.com/axone-protocol/axone-contract-schema/go/dataverse-schema/v5 v5.0.0-20240826124342-6e6abdf73c9a // indirect github.com/axone-protocol/axone-contract-schema/go/law-stone-schema/v5 v5.0.0-20240829161824-0ad316c6fda9 // indirect - github.com/axone-protocol/axoned/v9 v9.0.0 // indirect + github.com/axone-protocol/axoned/v10 v10.0.0 // indirect github.com/bahlo/generic-list-go v0.2.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect diff --git a/go.sum b/go.sum index 1d54fc5..41ad2c7 100644 --- a/go.sum +++ b/go.sum @@ -33,8 +33,8 @@ cosmossdk.io/x/evidence v0.1.1 h1:Ks+BLTa3uftFpElLTDp9L76t2b58htjVbSZ86aoK/E4= cosmossdk.io/x/evidence v0.1.1/go.mod h1:OoDsWlbtuyqS70LY51aX8FBTvguQqvFrt78qL7UzeNc= cosmossdk.io/x/feegrant v0.1.1 h1:EKFWOeo/pup0yF0svDisWWKAA9Zags6Zd0P3nRvVvw8= cosmossdk.io/x/feegrant v0.1.1/go.mod h1:2GjVVxX6G2fta8LWj7pC/ytHjryA6MHAJroBWHFNiEQ= -cosmossdk.io/x/tx v0.13.4 h1:Eg0PbJgeO0gM8p5wx6xa0fKR7hIV6+8lC56UrsvSo0Y= -cosmossdk.io/x/tx v0.13.4/go.mod h1:BkFqrnGGgW50Y6cwTy+JvgAhiffbGEKW6KF9ufcDpvk= +cosmossdk.io/x/tx v0.13.5 h1:FdnU+MdmFWn1pTsbfU0OCf2u6mJ8cqc1H4OMG418MLw= +cosmossdk.io/x/tx v0.13.5/go.mod h1:V6DImnwJMTq5qFjeGWpXNiT/fjgE4HtmclRmTqRVM3w= cosmossdk.io/x/upgrade v0.1.4 h1:/BWJim24QHoXde8Bc64/2BSEB6W4eTydq0X/2f8+g38= cosmossdk.io/x/upgrade v0.1.4/go.mod h1:9v0Aj+fs97O+Ztw+tG3/tp5JSlrmT7IcFhAebQHmOPo= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= @@ -95,10 +95,10 @@ github.com/axone-protocol/axone-contract-schema/go/dataverse-schema/v5 v5.0.0-20 github.com/axone-protocol/axone-contract-schema/go/dataverse-schema/v5 v5.0.0-20240826124342-6e6abdf73c9a/go.mod h1:ztbeFSQhlyxmoBMdCDXT3k9I8VswfCeq3F8TVrxpPVg= github.com/axone-protocol/axone-contract-schema/go/law-stone-schema/v5 v5.0.0-20240829161824-0ad316c6fda9 h1:i5TEHxnkprtp3uOz4nXokxWzGxjLEKYJmRfKsQ6HYzY= github.com/axone-protocol/axone-contract-schema/go/law-stone-schema/v5 v5.0.0-20240829161824-0ad316c6fda9/go.mod h1:en5YIi2VcOYS8vkUGB6HzAUfTk3miolwnzm+Qs9FtfM= -github.com/axone-protocol/axone-sdk v0.0.0-20240917124429-be90ef100e39 h1:lZJheDS1oeL53XCAPKmy6QV55mJAu1KEPUhXoofRETY= -github.com/axone-protocol/axone-sdk v0.0.0-20240917124429-be90ef100e39/go.mod h1:WAi+rTiQtfhErc1IeglJOrEr268OJ1Xkuc+zMKOFyD8= -github.com/axone-protocol/axoned/v9 v9.0.0 h1:tED2oKxf9KF4S8hbpDuUJL/91pEoYrV1femALJovRmY= -github.com/axone-protocol/axoned/v9 v9.0.0/go.mod h1:9RDsnrYBqXPQPOMFTWiTFULImclBrvUL1U89PUAimHA= +github.com/axone-protocol/axone-sdk v0.0.0-20240919114012-5a4ba90c03e8 h1:GkfXfnvBOGJMDRtx4aPKUecpc4FX2ktduemw1L2EDO4= +github.com/axone-protocol/axone-sdk v0.0.0-20240919114012-5a4ba90c03e8/go.mod h1:G0vv1eEJE/9VGJW7olYm8DGyl/Ls1EpmXHv39b+LtYY= +github.com/axone-protocol/axoned/v10 v10.0.0 h1:ck3IiVkldhuXTyIK17Q83P9tgbhYkood7qUF9/+yWLg= +github.com/axone-protocol/axoned/v10 v10.0.0/go.mod h1:RFL9hutVTROqqiQxp/4Z7OrghQ7JvZ9ykissftQGLKM= github.com/axone-protocol/prolog v1.0.0 h1:CASA1QrPOWhYox8YUStML33rekoA/7Gnp/ldDPZqCTA= github.com/axone-protocol/prolog v1.0.0/go.mod h1:lbZPekEi6qr5WX29GgEmhZlTxUkeWeiJ8cZZRq8qjAE= github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk=