-
Notifications
You must be signed in to change notification settings - Fork 0
Test #185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
ocasta181
wants to merge
151
commits into
main
Choose a base branch
from
develop
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* fixed go build * Update .github/workflows/dev-deploy.yml * Update .github/workflows/dev-deploy.yml
* create unknown device at user creation if no fingerprint data * Update pkg/service/user.go Co-authored-by: Auroter <[email protected]> * fix --------- Co-authored-by: Auroter <[email protected]>
* get instrument types sending properly again * remove CustomData and empty LocationData * Turns out they lied... * replace ioutil.ReadAll with io.ReadAll (#122) * fix go build on CI (#123) * fixed go build * Update .github/workflows/dev-deploy.yml * Update .github/workflows/dev-deploy.yml * use zero logs instead of log (#124) * merge conflicts * get instrument types sending properly again * remove CustomData and empty LocationData * Turns out they lied... * remove new lines * pull from master * replace ioutil.ReadAll with io.ReadAll (#122) * get instrument types sending properly again * Turns out they lied... * pull from master * allow nil device IPAddress * await unit21CreateInstrument * refactor unit21 for dependency injection; create wallet instrument on user creation --------- Co-authored-by: saito-sv <[email protected]> Co-authored-by: Sean <[email protected]>
* change to 'Card Payment' * change to 'Fiat to Crypto'
* update unit21 on email capture * fix-off-by-one error in transaction db
* wip * dont use terragrunt for now * sandbox api * updated to 4.37 * fixed ssm naming
* reorganize transaction service; add string-user name to checkout authentication * ID -> Id or id; fix unit21 unit tests; Get Contact by UserId and PlatformId * add GetByUserIdAndPlatformId * fix query; add customer email, and payment IP to checkout auth * Update pkg/model/transaction.go Co-authored-by: Frostbourne <[email protected]> * Update pkg/repository/auth.go Co-authored-by: Frostbourne <[email protected]> * Update pkg/internal/common/receipt.go Co-authored-by: Frostbourne <[email protected]> * Update pkg/service/checkout.go Co-authored-by: Frostbourne <[email protected]> * Update migrations/0003_contact-to-platform_device-to-instrument_tx-leg_transaction.sql Co-authored-by: Frostbourne <[email protected]> * Update pkg/internal/common/sign.go Co-authored-by: Frostbourne <[email protected]> * Update pkg/internal/common/sign.go Co-authored-by: Frostbourne <[email protected]> * Update pkg/repository/device.go Co-authored-by: Frostbourne <[email protected]> * Update pkg/internal/common/receipt.go Co-authored-by: Frostbourne <[email protected]> * Update pkg/internal/common/receipt.go Co-authored-by: Frostbourne <[email protected]> * Update api/middleware/middleware.go * ensure email gets passed * make 'written' ID all caps * Update pkg/repository/auth.go Co-authored-by: saito-sv <[email protected]> * Update pkg/internal/unit21/evaluate_test.go Co-authored-by: saito-sv <[email protected]> --------- Co-authored-by: Frostbourne <[email protected]> Co-authored-by: saito-sv <[email protected]>
do not abort transaction if user email is not found
…cision Fix/sean/quote payload float precision
* setup debugger * add .DS_Store to gitignore --------- Co-authored-by: Sean <[email protected]>
* only create a new card if none was provided * remove prints * remove printed value
* use httperror from go-lib * use go-libe repository * common package * redis * validator * common middleware * string error * rename go-lib common to commonlib * rename commonlib to libCommon * fixes * lowercase ib * fix middleware * fix * fix ctx in background functions * fix bad merge conflict
* use platform-api apikeys * unhash * use go-lib v1.3.0
* Added tracing, find all addresses in trace * fix .air.toml * resolved data seeding error * optional debugging * include .env.example * current progress * merge * update migration 7 * use pkgerrors in executor.go * remove uncessary comment * remove some unused methods * make name not null * be sure to add name to db row creation --------- Co-authored-by: Sean <[email protected]> Co-authored-by: Auroter <[email protected]>
* who did this * adding erc20 forward logic * Fixed post process aborting due to trying to get ERC721 data from ERC20 transfer events * stashing * coingecko id lookup using address, enable multiple transactions * improved error message * sanitize coingecko checksums * cull bunk address data from coingecko * added mock cost lookup for String USDc, fixed EVM estimation and execution of multiple calls, added calls for NFT and Token Forwarding (not complete yet) * stashing * Fix Coingecko Data Caching * Added subnet token proxies quick-fix / hack, fixed a bug where coingecko always appeared to be down, fixed an issue with updating the timestamp of a cached token value even when failing to retrieve a new value * Refactor call to repos.Contract.GetForValidation after resolving merge conflicts * fix unit21 error from giving it comma delineated txIds * Removed TX IDs from approvals from all front-facing stuff (receipt, transact return body) and unit21 * Don't dereference nil in code which isn't doing anything yet * Cull Approve txIds where needed
* who did this * adding erc20 forward logic * Fixed post process aborting due to trying to get ERC721 data from ERC20 transfer events * stashing * coingecko id lookup using address, enable multiple transactions * improved error message * sanitize coingecko checksums * cull bunk address data from coingecko * added mock cost lookup for String USDc, fixed EVM estimation and execution of multiple calls, added calls for NFT and Token Forwarding (not complete yet) * stashing * Fix Coingecko Data Caching * Added subnet token proxies quick-fix / hack, fixed a bug where coingecko always appeared to be down, fixed an issue with updating the timestamp of a cached token value even when failing to retrieve a new value * Refactor call to repos.Contract.GetForValidation after resolving merge conflicts * fix unit21 error from giving it comma delineated txIds * Removed TX IDs from approvals from all front-facing stuff (receipt, transact return body) and unit21 * Don't dereference nil in code which isn't doing anything yet * Cull Approve txIds where needed * Fixed a bug where Confirming an EVM TX would hang on failure!!!! Fixed a bug where finding 0 tokens to forward for ERC721 or ERC20 reported an error, fixed a bug where forwards failed because they were using safeTransferFrom without an approve, added true max gas caching for each transaction request, fixed a bug where forwarding would be attempted when there was nothing to forward, added true gas summing including forwarding * Fix snake_case_variables * fix issue from merge * Fix another merge issue * Fixed a bug where max cached gas value was overwritten before returning quote
* who did this * adding erc20 forward logic * Fixed post process aborting due to trying to get ERC721 data from ERC20 transfer events * stashing * coingecko id lookup using address, enable multiple transactions * improved error message * sanitize coingecko checksums * cull bunk address data from coingecko * added mock cost lookup for String USDc, fixed EVM estimation and execution of multiple calls, added calls for NFT and Token Forwarding (not complete yet) * stashing * Fix Coingecko Data Caching * Added subnet token proxies quick-fix / hack, fixed a bug where coingecko always appeared to be down, fixed an issue with updating the timestamp of a cached token value even when failing to retrieve a new value * Refactor call to repos.Contract.GetForValidation after resolving merge conflicts * fix unit21 error from giving it comma delineated txIds * Removed TX IDs from approvals from all front-facing stuff (receipt, transact return body) and unit21 * Don't dereference nil in code which isn't doing anything yet * Cull Approve txIds where needed * Fixed a bug where Confirming an EVM TX would hang on failure!!!! Fixed a bug where finding 0 tokens to forward for ERC721 or ERC20 reported an error, fixed a bug where forwards failed because they were using safeTransferFrom without an approve, added true max gas caching for each transaction request, fixed a bug where forwarding would be attempted when there was nothing to forward, added true gas summing including forwarding * Fix snake_case_variables * fix issue from merge * Fix another merge issue * Fixed a bug where max cached gas value was overwritten before returning quote * Created internal Gas Rate calculation method + function. Defer to this during Cost estimation if network oracle name is set to "internal" in the db. Also use this value when generating the real evm transaction request.
* Added "transfer()" commands to token cost analysis * stash * Add new coins to asset table on Quote * fix unit21 tests
* persona api wrapper * types * accounts and inquiries * verification * made some modifications * get verification * tests * pass test * one more unit * fixed an issue with creating an enquiry
* webhooks * testing middleware * tests for persona handle * remove unncessary comments * small bug on paths check * fixed typo
* first pass * fix some bugs, clear unneeded code * create identity on user creation, and update on email verification * add kyc service * Update pkg/service/kyc.go Co-authored-by: saito-sv <[email protected]> * simplify KYC function names * unit tests passing * add route * update annotations * ensure the identity actually get's built * handle noRows in sql selects * use enum --------- Co-authored-by: saito-sv <[email protected]> Co-authored-by: frostbournesb <[email protected]>
* added checkout and person webhooks env vars to dev * sandbox envs * removed duplicates * use same env var names
* first pass * fix some bugs, clear unneeded code * check and identify priviledge, assess true cost, true priviledge level after transaction * create identity on user creation, and update on email verification * add kyc service * Update pkg/service/kyc.go Co-authored-by: saito-sv <[email protected]> * simplify KYC function names * unit tests passing * add route * update annotations * ensure the identity actually get's built * handle noRows in sql selects * adjust logic to use KYC object * Update pkg/internal/common/util.go Co-authored-by: saito-sv <[email protected]> * cast KYCLevel to int when comparing * make webhook secret keys optional * undo prior changes -- these are required * ensure unsigned quote payload is returned with 403 if KYC level is not sufficient * stop dereferencing nil * Update pkg/service/transaction.go Co-authored-by: akfoster <[email protected]> --------- Co-authored-by: Ocasta <[email protected]> Co-authored-by: akfoster <[email protected]> Co-authored-by: saito-sv <[email protected]> Co-authored-by: frostbournesb <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.